PositionPathSeqBuilder

Builds a sequence of \(C^2\) CompositePositionPaths with Arclength parameters.

A new path is started whenever extending the current path would violate the continuity requirement. To manually insert further path breaks, invoke this builder multiple times.

Constructors

Link copied to clipboard
constructor(beginPos: Vector2d, beginTangent: Rotation2d, eps: Double)
constructor(beginPos: Vector2d, beginTangent: Double, eps: Double)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds a line segment that goes forward ds.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds a spline segment to position pos with tangent tangent.

Link copied to clipboard

Sets the tangent to point toward pos, and adds a line segment in that direction.