Click or drag to resize

SubDComponent Class

A part of SubD geometry. Common base class for vertices, faces, and edges
Inheritance Hierarchy
SystemObject
  Rhino.GeometrySubDComponent
    Rhino.GeometrySubDEdge
    Rhino.GeometrySubDFace
    Rhino.GeometrySubDVertex

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class SubDComponent : IEquatable<SubDComponent>

The SubDComponent type exposes the following members.

Properties
  NameDescription
Public propertyComponentDirection
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.
Public propertyId
Unique id within the parent SubD for this item
Public propertyIsDamaged
Returns true if the SubD component is damaged.
Public propertyIsDeleted
Returns true if the SubD component is deleted.
Public propertyIsHidden
Returns true if the SubD component is hidden.
Public propertyIsHighlighted
Returns true if the SubD component is highlighted.
Public propertyIsLocked
Returns true if the SubD component is locked.
Public propertyIsSelected
Returns true if the SubD component is selected.
Public propertyParentSubD
SubD that this component belongs to
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether an object is a SubDComponent referring to the same component, with the same orientation, in the same SubD.
(Overrides ObjectEquals(Object).)
Public methodEquals(SubDComponent)
Determines whether this component and another refer to the same component, with the same orientation, in the same SubD.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a hash code for this component.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReverseComponentDirection
Flips ComponentDirection and returns this component, so it can be used inline where an oppositely oriented reference is wanted.
Public methodToString
Returns a string of the form "SubDEdge(+12)", naming the component type, the orientation it is referenced with, and its id.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two components refer to the same component, with the same orientation, in the same SubD.
Public operatorStatic memberInequality
Determines whether two components refer to different components, orientations, or SubDs.
Top
See Also