Click or drag to resize
GeometryBaseComponentIndex Method
Rhino 5 for Windows
If this piece of geometry is a component in something larger, like a BrepEdge in a Brep, then this function returns the component index.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public ComponentIndex ComponentIndex()

Return Value

Type: ComponentIndex
This object's component index. If this object is not a sub-piece of a larger geometric entity, then the returned index has m_type = ComponentIndex.InvalidType and m_index = -1.
See Also