SubDEdgeList

References
All edges in a SubD

Properties

Count

#Since v7.0
Gets the number of SubD edges.
public int Count { get; }

Methods

Add

#Since v7.0
Add a new edge to the list.
public SubDEdge Add(
tag,
The type of edge tag, such as smooth or corner.
v0,
First vertex.
v1
Second vertex.
)
ArgumentOutOfRangeExceptionIf tag is unset or non-defined.

Find

#Since v7.0
Find an edge in this SubD with a given id
public SubDEdge Find(
id
)

Find

#Since v7.0
Find an edge in this SubD with a given id
[CLSCompliant(false)] public SubDEdge Find(
id
)

FindOrAdd

#Since v8.36
Gets the edge between two vertices, adding a smooth edge if there is not one yet.
public SubDEdge FindOrAdd(
v0,
First vertex.
v1
Second vertex.
)
The existing or newly added edge, or null on failure.

GetEnumerator

#Since v7.0
Implementation of IEnumerable
public IEnumerator<SubDEdge> GetEnumerator()

SetEdgeTags

#Since v7.7
Set edge tags for a list of edges. Useful for adding creases to SubDs
public void SetEdgeTags(
edgeIndices,
list of indices for the edges to set tags on
tag
The type of edge tag
)

SetEdgeTags

#Since v7.7
Set edge tags for a list of edges. Useful for adding creases to SubDs
public void SetEdgeTags(
edges,
list of edges to set a specific tag on
tag
The type of edge tag
)
Explicit

IEnumerable.GetEnumerator

#Since v7.0
IEnumerator IEnumerable.GetEnumerator()