Class HalfEdge
One half of the directional components of an Edge.
Inheritance
System.Object
HalfEdge
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)
Namespace: Elements.Geometry.Solids
Assembly: Hypar.Elements.dll
Syntax
public class HalfEdge
Constructors
HalfEdge(Edge, Vertex)
Construct a HalfEdge.
Declaration
public HalfEdge(Edge edge, Vertex vertex)
Parameters
Type | Name | Description |
---|---|---|
Edge | edge | The Edge associated with this HalfEdge. |
Vertex | vertex | The Vertex at the start of the edge. |
HalfEdge(Vertex)
Create a half edge.
Declaration
public HalfEdge(Vertex v)
Parameters
Type | Name | Description |
---|---|---|
Vertex | v |
Properties
Edge
The Edge of which this is one half.
Declaration
public Edge Edge { get; }
Property Value
Type | Description |
---|---|
Edge |
Loop
The Loop to which this HalfEdge belongs.
Declaration
public Loop Loop { get; }
Property Value
Type | Description |
---|---|
Loop |
Vertex
The Vertex at the start of the edge.
Declaration
public Vertex Vertex { get; set; }
Property Value
Type | Description |
---|---|
Vertex |
Methods
ToString()
Get the string representation of this half edge.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()