|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscardnoexcept |
Turning accumulated along a path, with sign retained.
| path | Positions in chronological order, at least three |
The signed counterpart to total_turning in Differential.hpp, which accumulates absolute values. That one measures how much a path bent in total and is blind to direction; this one measures where it ended up in heading and lets opposing bends cancel.
The pair separates cases neither resolves alone. A closed circle and a figure-eight of the same arc length accumulate similar absolute turning and very different signed turning, near one full revolution against near zero. A clockwise and a counterclockwise circle are identical under absolute turning and opposite under this.
Definition at line 98 of file PathShape.hpp.
References angular_delta(), and heading().
Referenced by winding_number().