Method GetCoincidentVertices
GetCoincidentVertices(IEnumerable<int>)
Returns a list of vertices that are coincident to any of the specified vertices.
Declaration
public List<int> GetCoincidentVertices(IEnumerable<int> vertices)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<int> | vertices | A collection of indices relative to the mesh positions. |
Returns
Type | Description |
---|---|
List<int> | A list of all vertices that share a position with any of the specified vertices. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The vertices parameter may not be null. |
GetCoincidentVertices(IEnumerable<Face>, List<int>)
Populates a list of vertices that are coincident to any of the specified vertices.
Declaration
public void GetCoincidentVertices(IEnumerable<Face> faces, List<int> coincident)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Face> | faces | A collection of faces to gather vertices from. |
List<int> | coincident | The list to clear and populate with any vertices that are coincident. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The vertices and coincident parameters may not be null. |
GetCoincidentVertices(IEnumerable<Edge>, List<int>)
Populates a list of vertices that are coincident to any of the specified vertices.
Declaration
public void GetCoincidentVertices(IEnumerable<Edge> edges, List<int> coincident)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Edge> | edges | A collection of edges to gather vertices from. |
List<int> | coincident | The list to clear and populate with any vertices that are coincident. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The vertices and coincident parameters may not be null. |
GetCoincidentVertices(IEnumerable<int>, List<int>)
Populates a list of vertices that are coincident to any of the specified vertices.
Declaration
public void GetCoincidentVertices(IEnumerable<int> vertices, List<int> coincident)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<int> | vertices | A collection of indices relative to the mesh positions. |
List<int> | coincident | The list to clear and populate with any vertices that are coincident. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The vertices and coincident parameters may not be null. |
GetCoincidentVertices(int, List<int>)
Populates a list with all the vertices that are coincident to the specified vertex.
Declaration
public void GetCoincidentVertices(int vertex, List<int> coincident)
Parameters
Type | Name | Description |
---|---|---|
int | vertex | An index relative to a positions array. |
List<int> | coincident | The list to clear and populate with any vertices that are coincident. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The coincident list may not be null. |
ArgumentOutOfRangeException | The SharedVertex[] does not contain an entry for the requested vertex. |