Class Face<TPosition>
Class for a face in a polyhedral halfedge mesh data structure.
Inheritance
Inherited Members
Namespace: BRIDGES.DataStructures.PolyhedralMeshes.HalfedgeMesh
Assembly: BRIDGES.dll
Syntax
public class Face<TPosition> : Face<TPosition, Vertex<TPosition>, Edge<TPosition>, Face<TPosition>>, IFace<TPosition> where TPosition : IEquatable<TPosition>
Type Parameters
Name | Description |
---|---|
TPosition | Type for the position of the vertex. |
Properties
| Improve this Doc View SourceFirstHalfedge
Gets a halfedge around the current face.
Declaration
public Halfedge<TPosition> FirstHalfedge { get; }
Property Value
Type | Description |
---|---|
Halfedge<TPosition> |
Remarks
This shall never be null.
Methods
| Improve this Doc View SourceAdjacentFaces()
Identifies the list of faces around the current face.
Declaration
public override IReadOnlyList<Face<TPosition>> AdjacentFaces()
Returns
Type | Description |
---|---|
IReadOnlyList<Face<TPosition>> | The ordered list of faces. An empty list can be returned. |
Overrides
Equals(Face<TPosition>)
Class for a face in a polyhedral halfedge mesh data structure.
Declaration
public override bool Equals(Face<TPosition> face)
Parameters
Type | Name | Description |
---|---|---|
Face<TPosition> | face |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Equals(Object)
Class for a face 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
FaceEdges()
Identifies the edges around the current face.
Declaration
public override IReadOnlyList<Edge<TPosition>> FaceEdges()
Returns
Type | Description |
---|---|
IReadOnlyList<Edge<TPosition>> | The ordered list of face edges. |
Overrides
FaceHalfedges()
Identifies the halfedges around the current face.
Declaration
public IReadOnlyList<Halfedge<TPosition>> FaceHalfedges()
Returns
Type | Description |
---|---|
IReadOnlyList<Halfedge<TPosition>> | The ordered list of face halfedges. |
FaceVertices()
Identifies the vertices around the current face.
Declaration
public override IReadOnlyList<Vertex<TPosition>> FaceVertices()
Returns
Type | Description |
---|---|
IReadOnlyList<Vertex<TPosition>> | The ordered list of face vertices. |
Overrides
GetHashCode()
Class for a face in a polyhedral halfedge mesh data structure.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
ToString()
Class for a face in a polyhedral halfedge mesh data structure.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |