DurationPathPrimitiveUpdatePolicyFactory#

class ansys.stk.core.graphics.DurationPathPrimitiveUpdatePolicyFactory#

path primitive update policy that removes points from remove location after a given duration.

Overview#

initialize

Construct a default update policy. This is equivalent to constructing a policy with duration set to 0 and a remove location of Front.

initialize_with_parameters

Initialize a policy with the specified duration and removeLocation.

Import detail#

from ansys.stk.core.graphics import DurationPathPrimitiveUpdatePolicyFactory

Method detail#

DurationPathPrimitiveUpdatePolicyFactory.initialize(self) DurationPathPrimitiveUpdatePolicy#

Construct a default update policy. This is equivalent to constructing a policy with duration set to 0 and a remove location of Front.

Returns:

DurationPathPrimitiveUpdatePolicy

DurationPathPrimitiveUpdatePolicyFactory.initialize_with_parameters(self, duration: float, remove_location: PathPrimitiveRemoveLocation) DurationPathPrimitiveUpdatePolicy#

Initialize a policy with the specified duration and removeLocation.

Parameters:

duration : float

remove_location : PathPrimitiveRemoveLocation

Returns:

DurationPathPrimitiveUpdatePolicy