Class MeshHalfEdge
Represents a mesh half-edge.
Inheritance
System.Object
MeshHalfEdge
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshHalfEdge : object
Constructors
| Improve this Doc View SourceMeshHalfEdge()
Initializes a new instance of the MeshHalfEdge class.
Declaration
public MeshHalfEdge()
Properties
| Improve this Doc View SourceAdjacentFace
Gets the opposite face of the half-edge.
Declaration
public MeshFace AdjacentFace { get; }
Property Value
Type | Description |
---|---|
MeshFace |
Corner
Gets or sets the corner linked to this half-edge.
Declaration
public MeshCorner Corner { get; set; }
Property Value
Type | Description |
---|---|
MeshCorner |
Edge
Gets or sets the edge linked to this half-edge.
Declaration
public MeshEdge Edge { get; set; }
Property Value
Type | Description |
---|---|
MeshEdge |
Face
Gets or sets the face linked to this half-edge.
Declaration
public MeshFace Face { get; set; }
Property Value
Type | Description |
---|---|
MeshFace |
Index
Gets or sets the half-edge index.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Next
Gets or sets the next half-edge in a face.
Declaration
public MeshHalfEdge Next { get; set; }
Property Value
Type | Description |
---|---|
MeshHalfEdge |
OnBoundary
Gets or sets a value indicating whether the half-edge lies on a boundary.
Declaration
public bool OnBoundary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Prev
Gets or sets the previous half-edge in a face.
Declaration
public MeshHalfEdge Prev { get; set; }
Property Value
Type | Description |
---|---|
MeshHalfEdge |
PreviousVertex
Gets the previous vertex of the half-edge.
Declaration
public MeshVertex PreviousVertex { get; }
Property Value
Type | Description |
---|---|
MeshVertex |
Twin
Gets or sets the opposite half-edge.
Declaration
public MeshHalfEdge Twin { get; set; }
Property Value
Type | Description |
---|---|
MeshHalfEdge |
Vertex
Gets or sets the vertex linked to this half-edge.
Declaration
public MeshVertex Vertex { get; set; }
Property Value
Type | Description |
---|---|
MeshVertex |
Methods
| Improve this Doc View SourceToString()
Gets the string representation of the half-edge.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |