Compound Path
class CompoundPath(paths: List<Path>, var headingInterpolationMode: Path.HeadingInterpolationMode = Path.HeadingInterpolationMode.LINEAR) : Path
Represents a compound path made up of multiple paths. The paths are assumed to be connected end-to-end, meaning the end pose of one path should match the start pose of the next path in the list.
Parameters
paths
A list of paths that make up the compound path.
Constructors
Link copied to clipboard
constructor(paths: List<Path>, headingInterpolationMode: Path.HeadingInterpolationMode = Path.HeadingInterpolationMode.LINEAR)
Properties
Functions
Link copied to clipboard
Gets the closest point on the path to the given position
Link copied to clipboard
Gets the closest point t value to the given position on the path
Link copied to clipboard
Gets the curvature at the given parameter t
Link copied to clipboard
Get interpolated heading target at a given parameter t
Link copied to clipboard
Gets the arc length from the start of the path to the given parameter t
Link copied to clipboard
Gets the parameter t value from the given arc length