DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > 2D > ILine2D 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.