Class Edge<TPosition>
Class for an edge in a polyhedral face-vertex mesh data structure.
Inheritance
Edge<TPosition>
Inherited Members
Namespace: BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh
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. |
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
BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Edge<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.AdjacentFaces()
|
Improve this Doc
View Source
Equals(Object)
Class for an edge in a polyhedral face-vertex mesh data structure.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Edge<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Class for an edge in a polyhedral face-vertex mesh data structure.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Edge<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.GetHashCode()
|
Improve this Doc
View Source
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
BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Edge<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.IsBoundary()
|
Improve this Doc
View Source
ToString()
Class for an edge in a polyhedral face-vertex mesh data structure.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
BRIDGES.DataStructures.PolyhedralMeshes.Abstract.Edge<TPosition, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Vertex<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Edge<TPosition>, BRIDGES.DataStructures.PolyhedralMeshes.FaceVertexMesh.Face<TPosition>>.ToString()
Implements
IEquatable<>