pub trait Heading: Path {
// Required method
fn heading_at(&self, s: Self::Scalar) -> Result<Self::Scalar, Self::Error>;
}Expand description
Query the planar heading angle at any point along a path.
Heading is meaningful only for 2D paths, where it represents the angle (in radians, counter-clockwise from the positive x-axis) of the tangent.