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 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


IKCLine Interface

GetEnd
IsClosed

The interface is implemented by curves and straight lines on surface of an object. This interface is returned, for example, from ISurface.GetEdges method.

List of all vertices, including internal ones can  be obtained via IList queried from the relevant IKCLine. Type of the elements stored in the list is IVertex.

See also Patchwork sampleInterface List


HRESULT GetEnd(int end, IVertex** vertex)

Parameters

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

vertex - [out, retval] returned IVertex reference of the end vertex

Remarks:

The method returns ends of the line.


HRESULT IsClosed(VARIANT_BOOL* closed)

Parameters

closed - [out, retval] returned Boolean value

Remarks:

The method returns true if the curve is closed, namely if the curve does not have ends or ends coincide.