DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


ILine2D Interface

GetEnd
SetEnd

The interface is implemented by 2D Arcs and straight lines

See also Patchwork sampleInterface List


HRESULT GetEnd(int end, double* x, double* y)

Parameters

end - [in] End to retrieve. 0 - the first end, 1 - the second end.

x, y - [out] returned coordinates of the end

Remarks:

The method returns ends of the line.


HRESULT SetEnd(int end, double x, double y)

Parameters

end - [in] End to modify. 0 - the first end, 1 - the second end.

x, y - [in] new coordinates of the end

Remarks:

The method modifies ends of the line.