SubDComponent
ReferencesA part of SubD geometry. Common base class for vertices, faces, and edges
Properties
True when this component is referenced with the reverse of its natural orientation. This is always false for vertices, and for edges and faces obtained directly from the parent SubD; it is only set on components reached through an oriented reference, such as the face on a given side of an oriented edge.
Unique id within the parent SubD for this item
Returns true if the SubD component is highlighted.
Methods
Determines whether an object is a SubDComponent referring to the same component, with the same orientation, in the same SubD.
Parameters:
| obj (object) | The object to compare with. |
Overrides: Object.Equals
Determines whether this component and another refer to the same component, with the same orientation, in the same SubD.
Parameters:
| other (SubDComponent) | The component to compare with. |
Gets a hash code for this component.
Overrides: Object.GetHashCode
Flips ComponentDirection and returns this component, so it can be used inline where an oppositely oriented reference is wanted.
Returns: This component.
Returns a string of the form "SubDEdge(+12)", naming the component type, the orientation it is referenced with, and its id.
Overrides: Object.ToString
Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| SubDComponent | == | SubDComponent | bool | Determines whether two components refer to the same component, with the same orientation, in the same SubD. |
| SubDComponent | != | SubDComponent | bool | Determines whether two components refer to different components, orientations, or SubDs. |