XEdge

data class XEdge(val source: XVertex, val target: XVertex, val contour: ShapeContour, val origin: ShapeProvider)(source)

Edge of an arrangement.

Constructors

Link copied to clipboard
constructor(source: XVertex, target: XVertex, contour: ShapeContour, origin: ShapeProvider)

Properties

Link copied to clipboard
val contour: ShapeContour

Geometric representation of the edge, for drawing purposes.

Link copied to clipboard
val end: Vector2
Link copied to clipboard

The two half-edges that correspond to this edge.

Link copied to clipboard
val origin: ShapeProvider

The shape that the edge originates from.

Link copied to clipboard
Link copied to clipboard
val start: Vector2
Link copied to clipboard