RhumbLineInterpolatorFactory#
- class ansys.stk.core.graphics.RhumbLineInterpolatorFactory#
The rhumb line interpolator computes interpolated positions along a rhumb line. Rhumb lines are lines of constant bearing. They appear as straight lines on a Mercator 2D map projection and are well suited to navigation.
Overview#
Initialize a default rhumb line interpolator. This is equivalent to constructing a rhumb line interpolator with a central body equal to an instance of earth central body and a granularity of 1 degree. |
|
Initialize a rhumb line interpolator with the specified centralBody and a granularity of 1 degree. |
|
Initialize a rhumb line interpolator with the specified centralBody and granularity. |
Import detail#
from ansys.stk.core.graphics import RhumbLineInterpolatorFactory
Method detail#
- RhumbLineInterpolatorFactory.initialize(self) RhumbLineInterpolator #
Initialize a default rhumb line interpolator. This is equivalent to constructing a rhumb line interpolator with a central body equal to an instance of earth central body and a granularity of 1 degree.
- Returns:
RhumbLineInterpolator
- RhumbLineInterpolatorFactory.initialize_with_central_body(self, central_body: str) RhumbLineInterpolator #
Initialize a rhumb line interpolator with the specified centralBody and a granularity of 1 degree.
- Parameters:
central_body :
str
- Returns:
RhumbLineInterpolator
- RhumbLineInterpolatorFactory.initialize_with_central_body_and_granularity(self, central_body: str, granularity: float) RhumbLineInterpolator #
Initialize a rhumb line interpolator with the specified centralBody and granularity.