Package-level declarations

Types

Link copied to clipboard
class PosePath3D(val path: RectifiedPath3D, up: Vector3 = Vector3.UNIT_Y, samples: Int = maxOf(256, 64 * path.path.segments.size), maxTurn: Double = PI / 180.0)

Represents a 3D pose path defined along a rectified path: a frame at every point of the path whose z axis is the direction of the path, which turns as little as possible from point to point.

Functions

Link copied to clipboard
fun RectifiedPath3D.pose(up: Vector3 = Vector3.UNIT_Y): PosePath3D

Generates a 3D pose path along the current rectified path. The resulting PosePath3D provides interpolation and orientation adjustments along the path.

Link copied to clipboard
fun rotationMinimizingFrame(m0: Matrix33, m1: Matrix33, t: Double, fT: Vector3): Matrix33

Mixes the axes of m0 and m1 by t, each normalized, with fT as the z axis: not a rotation minimizing frame, and not orthonormal in general.