SubDComponent

References
[DebuggerDisplay("{ToString()}")] public abstract class SubDComponent : IEquatable<SubDComponent>
A part of SubD geometry. Common base class for vertices, faces, and edges

Properties

ComponentDirection

#Since v8.36
public bool ComponentDirection { get; set; }
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.

Id

#Since v7.0
[CLSCompliant(false)] public uint Id { get; }
Unique id within the parent SubD for this item

IsDamaged

#Since v7.6
public bool IsDamaged { get; }
Returns true if the SubD component is damaged.

IsDeleted

#Since v7.6
public bool IsDeleted { get; }
Returns true if the SubD component is deleted.

IsHidden

#Since v7.6
public bool IsHidden { get; }
Returns true if the SubD component is hidden.

IsHighlighted

#Since v7.6
public bool IsHighlighted { get; }
Returns true if the SubD component is highlighted.

IsLocked

#Since v7.6
public bool IsLocked { get; }
Returns true if the SubD component is locked.

IsSelected

#Since v7.6
public bool IsSelected { get; }
Returns true if the SubD component is selected.

ParentSubD

#Since v7.0
public SubD ParentSubD { get; }
SubD that this component belongs to

Methods

Equals

#Since v8.36
public override bool Equals(object obj)
Determines whether an object is a SubDComponent referring to the same component, with the same orientation, in the same SubD.
obj (object)The object to compare with.
Object.Equals

Equals

#Since v8.36
public bool Equals(SubDComponent other)
Determines whether this component and another refer to the same component, with the same orientation, in the same SubD.
other (SubDComponent)The component to compare with.

GetHashCode

#Since v8.36
public override int GetHashCode()
Gets a hash code for this component.

ReverseComponentDirection

#Since v8.36
public SubDComponent ReverseComponentDirection()
Flips ComponentDirection and returns this component, so it can be used inline where an oppositely oriented reference is wanted.
This component.

ToString

#Since v8.36
public override string ToString()
Returns a string of the form "SubDEdge(+12)", naming the component type, the orientation it is referenced with, and its id.
Object.ToString

Operators

OperationResultDescription
SubDComponent==SubDComponentboolDetermines whether two components refer to the same component, with the same orientation, in the same SubD.
SubDComponent!=SubDComponentboolDetermines whether two components refer to different components, orientations, or SubDs.