Interface IEdge<TPosition>
Abstract class for an edge in a polyhedral mesh data structure.
Namespace: BRIDGES.DataStructures.PolyhedralMeshes
Assembly: BRIDGES.dll
Syntax
public interface IEdge<TPosition>
where TPosition : IEquatable<TPosition>
Type Parameters
Name | Description |
---|---|
TPosition | Type of the vertex position. |
Properties
| Improve this Doc View SourceEndVertex
Gets the end vertex of the current edge.
Declaration
IVertex<TPosition> EndVertex { get; }
Property Value
Type | Description |
---|---|
IVertex<TPosition> |
Index
Gets the index of the current edge in the mesh.
Declaration
int Index { get; }
Property Value
Type | Description |
---|---|
Int32 |
StartVertex
Gets the start vertex of the current edge.
Declaration
IVertex<TPosition> StartVertex { get; }
Property Value
Type | Description |
---|---|
IVertex<TPosition> |
Methods
| Improve this Doc View SourceAdjacentFaces()
Identifies the faces around the current edge.
Declaration
IReadOnlyList<IFace<TPosition>> AdjacentFaces()
Returns
Type | Description |
---|---|
IReadOnlyList<IFace<TPosition>> | The list of adjacent faces. An empty list can be returned. |
IsBoundary()
Evaluates whether the vertex is on a boundary.
Declaration
bool IsBoundary()
Returns
Type | Description |
---|---|
Boolean | true if the edge is on a boundary, false otherwise. |