IPatch Interface
- GetEdgeComponents
- GetVertices
IPatch interface is implemented by
patches of surfaces. It gives access to
members of the patch software object.
See also: Patchwork Sample, Interface List
HRESULT GetEdgeComponents(IArray2** edges)
Parameters
edges - [out, retval] new array
with elements of type IStrip
- Remarks:
The methods creates a new array and fills it with IStrip
interfaces implemented by wires of the
patch.
Elements of the strip are edges. Query IKCLine from the returned element to access the line. When the edge is not straight the element also implement IList which is a list containing IVertex elements for end and internal vertices
Connectors of the strip are Vertices. Query IVertex from the returned element to access the veretx
Edges are numbered in Counter
Clock Wise order if looking from outside of the object.
See also: Patchwork Sample
HRESULT GetVertices(IArray2**
vertices)
Parameters
vertices - [out, retval] new array
with elements of type
IVertex
- Remarks:
The methods creates a new array and fills it with
IVertex interfaces implemented by vertices of
the patch. Vertices are numbered in Counter Clock Wise order if looking from
outside of the object. The vertex with index ind in the array is
one of ends of ind-th edge returned by the GetEdges method
above.
|