P1

Description

Name

class Tinman.Curve.P1

Derived from

Curve

A curve hat interpolates through a sequence of 1D control points.

Fields / Required

points

Type

number[]

Constraint

# != null

The control points of the curve.

Fields / Optional

continuity

Type

Continuity

Default

Continuity.Tangent

The desired continuity of the curve.

Fields / External

length

Type

number

The length of the curve, treating control points as 3D points.