|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
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(), h, heading(), and total.
Referenced by winding_number().
Here is the call graph for this function:
Here is the caller graph for this function: