Class YuPengClipper.Edge
- Assembly
- Alis.dll
Specifies an Edge. Edges are used to represent simplicies in simplical chains
private sealed class YuPengClipper.EdgeInheritance
Inherited Members
Constructors
Edge(Vector2, Vector2)
Initializes a new instance of the Alis.Core.Physic.Common.PolygonManipulation.YuPengClipper.Edge class
public Edge(Vector2 edgeStart, Vector2 edgeEnd)Parameters
Properties
EdgeEnd
Gets the value of the edge end
public Vector2 EdgeEnd { get; }Property Value
EdgeStart
Gets the value of the edge start
public Vector2 EdgeStart { get; }Property Value
Methods
Equals(object)
Describes whether this instance equals
public override bool Equals(object obj)Parameters
objobject-
The obj
Returns
- bool
-
The bool
Equals(Edge)
Describes whether this instance equals
public bool Equals(YuPengClipper.Edge e)Parameters
eYuPengClipper.Edge-
The
Returns
- bool
-
The bool
GetCenter()
Gets the center
public Vector2 GetCenter()Returns
- Vector2
-
The vector
GetHashCode()
Gets the hash code
public override int GetHashCode()Returns
- int
-
The int
Operators
operator -(Edge)
public static YuPengClipper.Edge operator -(YuPengClipper.Edge e)