Class Face<TPosition, TVertex, TEdge, TFace>
Abstract class for a face in a polyhedral mesh data structure.
Namespace: BRIDGES.DataStructures.PolyhedralMeshes.Abstract
Assembly: BRIDGES.dll
Syntax
public abstract class Face<TPosition, TVertex, TEdge, TFace> : object, IFace<TPosition> where TPosition : IEquatable<TPosition> where TVertex : Vertex<TPosition, TVertex, TEdge, TFace> where TEdge : Edge<TPosition, TVertex, TEdge, TFace> where TFace : Face<TPosition, TVertex, TEdge, TFace>
Type Parameters
Name | Description |
---|---|
TPosition | Type for the position of the vertex. |
TVertex | Type of vertex for the mesh. |
TEdge | Type of vertex for the mesh. |
TFace | Type of vertex for the mesh. |
Properties
| Improve this Doc View SourceIndex
Gets the index of the current face in the mesh.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceAdjacentFaces()
Identifies the list of faces around the current face.
Declaration
public abstract IReadOnlyList<TFace> AdjacentFaces()
Returns
Type | Description |
---|---|
IReadOnlyList<TFace> | The ordered list of faces. An empty list can be returned. |
Equals(TFace)
Abstract class for a face in a polyhedral mesh data structure.
Declaration
public virtual bool Equals(TFace face)
Parameters
Type | Name | Description |
---|---|---|
TFace | face |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Abstract class for a face in a polyhedral mesh data structure.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
FaceEdges()
Identifies the edges around the current face.
Declaration
public abstract IReadOnlyList<TEdge> FaceEdges()
Returns
Type | Description |
---|---|
IReadOnlyList<TEdge> | The ordered list of face edges. |
FaceVertices()
Identifies the vertices around the current face.
Declaration
public abstract IReadOnlyList<TVertex> FaceVertices()
Returns
Type | Description |
---|---|
IReadOnlyList<TVertex> | The ordered list of face vertices. |
GetHashCode()
Abstract class for a face in a polyhedral mesh data structure.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
ToString()
Abstract class for a face in a polyhedral mesh data structure.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Explicit Interface Implementations
| Improve this Doc View SourceIFace<TPosition>.AdjacentFaces()
Abstract class for a face in a polyhedral mesh data structure.
Declaration
IReadOnlyList<IFace<TPosition>> IFace<TPosition>.AdjacentFaces()
Returns
Type | Description |
---|---|
IReadOnlyList<IFace<TPosition>> |
IFace<TPosition>.FaceEdges()
Abstract class for a face in a polyhedral mesh data structure.
Declaration
IReadOnlyList<IEdge<TPosition>> IFace<TPosition>.FaceEdges()
Returns
Type | Description |
---|---|
IReadOnlyList<IEdge<TPosition>> |
IFace<TPosition>.FaceVertices()
Abstract class for a face in a polyhedral mesh data structure.
Declaration
IReadOnlyList<IVertex<TPosition>> IFace<TPosition>.FaceVertices()
Returns
Type | Description |
---|---|
IReadOnlyList<IVertex<TPosition>> |