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 sample, Interface 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.
|