IPositionInterpolator#

class ansys.stk.core.graphics.IPositionInterpolator#

Position interpolators compute positions based on a collection of input positions. Position interpolators are used in conjunction with the polyline primitive to render things such as great arcs and rhumb lines.

Overview#

interpolate

Compute interpolated positions based on the input positions. Returns an array of positions in the order x, y, z.

polyline_type

Get the polyline type of positions returned from interpolate.

Import detail#

from ansys.stk.core.graphics import IPositionInterpolator

Property detail#

property IPositionInterpolator.polyline_type: PolylineType#

Get the polyline type of positions returned from interpolate.

Method detail#

IPositionInterpolator.interpolate(self, positions: list) list#

Compute interpolated positions based on the input positions. Returns an array of positions in the order x, y, z.

Parameters:

positions : list

Returns:

list