Class MeshEdge
Edge class representing a full edge of a half-edge mesh. A full edge contains 2 half-edges.
Inheritance
System.Object
MeshEdge
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshEdge : object
Constructors
| Improve this Doc View SourceMeshEdge()
Initializes a new instance of the MeshEdge class.
Declaration
public MeshEdge()
Properties
| Improve this Doc View SourceHalfEdge
Gets or sets the half-edge linked to this edge.
Declaration
public MeshHalfEdge HalfEdge { get; set; }
Property Value
Type | Description |
---|---|
MeshHalfEdge |
Index
Gets or sets the index of this Mesh Edge.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OnBoundary
Gets a value indicating whether the mesh edge lies on a boundary.
Declaration
public bool OnBoundary { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAdjacentEdges()
Gets the adjacent edges of this edge.
Declaration
public List<MeshEdge> AdjacentEdges()
Returns
Type | Description |
---|---|
List<MeshEdge> |
AdjacentFaces()
Gets the adjacent faces of this edge.
Declaration
public List<MeshFace> AdjacentFaces()
Returns
Type | Description |
---|---|
List<MeshFace> |
AdjacentVertices()
Gets the adjacent vertices of this given edge.
Declaration
public List<MeshVertex> AdjacentVertices()
Returns
Type | Description |
---|---|
List<MeshVertex> |