ChainSegment

constructor(ghost1: Vec2, segment: Segment, ghost2: Vec2, chainId: Int)

Parameters

ghost1

The ghost vertex before point1

segment

The actual segment

ghost2

The ghost vertex after point2

chainId

The owning chain shape index (internal)