Generated by DocFX

Class MeshFace

Half-edge mesh face class.

Inheritance
System.Object
MeshFace
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Syntax
public class MeshFace

Constructors

| Improve this Doc View Source

MeshFace()

Initializes a new instance of the MeshFace class.

Declaration
public MeshFace()

Properties

| Improve this Doc View Source

Area

Gets the area of the face.

Declaration
public double Area { get; }
Property Value
Type Description
System.Double

Returns the value of the face area.

| Improve this Doc View Source

HalfEdge

Gets or sets one of the half-edges surrounding the face.

Declaration
public MeshHalfEdge HalfEdge { get; set; }
Property Value
Type Description
MeshHalfEdge
| Improve this Doc View Source

Index

Gets or sets the face index on the mesh face list.

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Normal

Gets the normal vector of the face.

Declaration
public Vector3? Normal { get; }
Property Value
Type Description
System.Nullable<Vector3>

Returns the perpendicular vector to the face.

Methods

| Improve this Doc View Source

AdjacentCorners()

Get all adjacent corners to this face.

Declaration
public List<MeshCorner> AdjacentCorners()
Returns
Type Description
System.Collections.Generic.List<MeshCorner>

Returns a list of all adjacent corners in order.

| Improve this Doc View Source

AdjacentEdges()

Get all adjacent edges to this face.

Declaration
public List<MeshEdge> AdjacentEdges()
Returns
Type Description
System.Collections.Generic.List<MeshEdge>

Returns a list of all adjacent edges in order.

| Improve this Doc View Source

AdjacentFaces()

Get all adjacent faces to this face.

Declaration
public List<MeshFace> AdjacentFaces()
Returns
Type Description
System.Collections.Generic.List<MeshFace>

Returns a list of all adjacent faces in order.

| Improve this Doc View Source

AdjacentHalfEdges()

Get all adjacent half-edges to this face.

Declaration
public List<MeshHalfEdge> AdjacentHalfEdges()
Returns
Type Description
System.Collections.Generic.List<MeshHalfEdge>

Returns a list of all adjacent half-edges in order.

| Improve this Doc View Source

AdjacentVertices()

Get all adjacent vertices to this face.

Declaration
public List<MeshVertex> AdjacentVertices()
Returns
Type Description
System.Collections.Generic.List<MeshVertex>

Returns a list of all adjacent vertices in order.

| Improve this Doc View Source

IsBoundaryLoop()

Checks if the current face is a boundary face.

Declaration
public bool IsBoundaryLoop()
Returns
Type Description
System.Boolean

Returns true if the face is a boundary face, false if not.

| Improve this Doc View Source

ToString()

Convert the mesh face to string.

Declaration
public override string ToString()
Returns
Type Description
System.String

Returns the string representation of the mesh face.

Overrides
System.Object.ToString()