public sealed class SubDVertex : SubDComponent
Single vertex of a SubD

Properties

ComponentDirection

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 bool ComponentDirection { get; set; }
inherited fromSubDComponent

ControlNetPoint

#Since v7.0
Location of the "control net" point that this SubDVertex represents
public Point3d ControlNetPoint { get; set; }
Remarks: The setter of this property will refresh the neighborhood cache around the vertex everytime it is called. This is not efficient if you have multiple vertices to modify. In that case, call vertex.SetControlNetPoint(position, false) for all the vertices you want to modify, then call subd.ClearEvaluationCache()

EdgeCount

#Since v7.0
Number of edges for this vertex
public int EdgeCount { get; }

Edges

#Since v7.0
All edges that this vertex is part of
public IEnumerable<SubDEdge> Edges { get; }

FaceCount

#Since v7.0
Number of faces for this vertex
public int FaceCount { get; }

Id

Unique id within the parent SubD for this item
[CLSCompliant(false)] public uint Id { get; }
inherited fromSubDComponent

IsDamaged

Returns true if the SubD component is damaged.
public bool IsDamaged { get; }
inherited fromSubDComponent

IsDeleted

Returns true if the SubD component is deleted.
public bool IsDeleted { get; }
inherited fromSubDComponent

IsHidden

Returns true if the SubD component is hidden.
public bool IsHidden { get; }
inherited fromSubDComponent

IsHighlighted

Returns true if the SubD component is highlighted.
public bool IsHighlighted { get; }
inherited fromSubDComponent

IsLocked

Returns true if the SubD component is locked.
public bool IsLocked { get; }
inherited fromSubDComponent

IsSelected

Returns true if the SubD component is selected.
public bool IsSelected { get; }
inherited fromSubDComponent

ParentSubD

SubD that this component belongs to
public SubD ParentSubD { get; }
inherited fromSubDComponent

Tag

#Since v7.5
identifies the type of subdivision vertex
public SubDVertexTag Tag { get; set; }

Methods

ClearSavedSubdivisionPoints

#Since v8.36
Discards the cached subdivision and surface points for this vertex, so they are recomputed on next use.
[ConstOperation] public void ClearSavedSubdivisionPoints(
clearNeighborhood
If true, the cached points of the neighboring components are discarded too. Moving a control net point changes the surface around it, not just at it, so pass true after an edit unless you know only this vertex is affected.
)

ComponentIndex

#Since v8.30
Gets the component index of this vertex.
[ConstOperation] public ComponentIndex ComponentIndex()
The component index.

EdgeAt

#Since v7.0
Retrieve a SubDEdge from this vertex
public SubDEdge EdgeAt(
index
)

Equals

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

Equals

Determines whether this component and another refer to the same component, with the same orientation, in the same SubD.
public bool Equals(
other
The component to compare with.
)
inherited fromSubDComponent

FaceAt

#Since v7.7
Retrieve a SubDFace from this vertex
public SubDFace FaceAt(
index
)

GetHashCode

Gets a hash code for this component.
public override int GetHashCode()
inherited fromSubDComponent

ReverseComponentDirection

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

SetControlNetPoint

#Since v8.0
Change the location of the "control net" point that this SubDVertex represents
public bool SetControlNetPoint(
position,
New position for the vertex' control net point.
bClearNeighborhoodCache
If true, clear the evaluation cache in the faces around the modified vertex.
)
Remarks: This method is provided to be able to set multiple control vertices, without clearing the neighborhood cache everytime as the ControlNetPoint property setter does. When you are done modifying your SubD, call subd.UpdateEvaluationCache() to refresh all caches.
true if the vertex' control net point was modified.

ToString

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