MedialAxisBranch

class MedialAxisBranch(val contour: ShapeContour, val start: Int, val end: Int)(source)

A single run of the medial axis between two nodes.

Constructors

Link copied to clipboard
constructor(contour: ShapeContour, start: Int, end: Int)

Properties

Link copied to clipboard
val contour: ShapeContour

the branch, fitted with cubic Bézier segments

Link copied to clipboard
val end: Int

index into MedialAxis.nodes of the node at the end of contour, -1 for an isolated loop

Link copied to clipboard
val start: Int

index into MedialAxis.nodes of the node at the start of contour, -1 for an isolated loop