Skip to main content

Type Alias: SplineLineSegment

SplineLineSegment: object

Line segment the is part of a curve segment based on its resolution. Each curve segment shall have 20 line segments when spline resolution is set to 20.

Type declaration

aabb

aabb: Types.AABB2

Axis-aligned bounding (minX, minY, maxX, maxY)

length

length: number

Length of the line segment

points

points: object

Start and end points for the line segment

points.end

end: Types.Point2

points.start

start: Types.Point2

previousLineSegmentsLength

previousLineSegmentsLength: number

Total length of all previous line segments for a given curve segment

Defined in

tools/src/types/SplineLineSegment.ts:8