Class Edge<TPosition>
Class for an edge in a polyhedral halfedge mesh data structure.
Inheritance
Inherited Members
Namespace: BRIDGES.DataStructures.PolyhedralMeshes.HalfedgeMesh
Assembly: BRIDGES.dll
Syntax
public class Edge<TPosition> : Edge<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>, IEdge<TPosition> where TPosition : IEquatable<TPosition>
Type Parameters
Name | Description |
---|---|
TPosition | Type for the position of the vertex. |
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).
Methods
| Improve this Doc View SourceAdjacentFaces()
Identifies the faces around the current edge.
Declaration
public override IReadOnlyList<Face<TPosition>> AdjacentFaces()
Returns
Type | Description |
---|---|
IReadOnlyList<Face<TPosition>> | The list of adjacent faces. An empty list can be returned. |
Overrides
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).
Equals(Object)
Class for an edge in a polyhedral halfedge mesh data structure.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).
GetHashCode()
Class for an edge in a polyhedral halfedge mesh data structure.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).
IsBoundary()
Evaluates whether the edge is on a boundary.
Declaration
public override bool IsBoundary()
Returns
Type | Description |
---|---|
Boolean | true if the edge is on a boundary, false otherwise. |
Overrides
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).
ToString()
Class for an edge in a polyhedral halfedge mesh data structure.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Remarks
In a polyhedral halfedge mesh data structure, edges are represented by the halfedge whose indices are pair.
Edges have the same behaviour as in other polyhedral mesh data structures but each edge (with index i) can be mapped to a pair of halfedge (with indices 2i and 2i+1).