Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::PathPose Struct Reference

A position on a measured path, with the direction of travel there. More...

#include <path_measure.hpp>

Public Attributes

Point2D position {}
Point2D tangent {1.0f, 0.0f}
 Unit tangent.

Detailed Description

A position on a measured path, with the direction of travel there.

Member Data Documentation

◆ position

Point2D pulp::canvas::PathPose::position {}

◆ tangent

Point2D pulp::canvas::PathPose::tangent {1.0f, 0.0f}

Unit tangent.

Points along increasing distance. For a degenerate (zero-length) path this is {1, 0} rather than a zero vector, so callers rotating by it never produce a NaN basis.


The documentation for this struct was generated from the following file: