from_path_ends#
- classmethod OrientationRegion.from_path_ends(points: Quaternion, closed: bool = False, steps: int = 100) Quaternion[source]#
Return quaternions tracing the shortest path between two or more consecutive points.
- Parameters:
- points
Two or more quaternions that define points along the path.
- closed
Add a final trip from the last point back to the first, thus closing the loop. Default is False.
- steps
Number of quaternions to return between each point along the path given by points. Default is 100.
- Returns:
pathRegularly spaced quaternions along the path.
See also