Table of Contents

Class YuPengClipper.Edge

Specifies an Edge. Edges are used to represent simplicies in simplical chains

private sealed class YuPengClipper.Edge

Inheritance

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

edgeStart Vector2

The edge start

edgeEnd Vector2

The edge end

Properties

EdgeEnd

Gets the value of the edge end

public Vector2 EdgeEnd { get; }

Property Value

Vector2

EdgeStart

Gets the value of the edge start

public Vector2 EdgeStart { get; }

Property Value

Vector2

Methods

Equals(object)

Describes whether this instance equals

public override bool Equals(object obj)

Parameters

obj object

The obj

Returns

bool

The bool

Equals(Edge)

Describes whether this instance equals

public bool Equals(YuPengClipper.Edge e)

Parameters

e YuPengClipper.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)

Parameters

e YuPengClipper.Edge

Returns

YuPengClipper.Edge