Click or drag to resize

DurationPathPrimitiveUpdatePolicy Class

PathPrimitive update policy that removes points from RemoveLocation after a given Duration.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public sealed class DurationPathPrimitiveUpdatePolicy : PathPrimitiveUpdatePolicy

The DurationPathPrimitiveUpdatePolicy type exposes the following members.

Constructors
  NameDescription
Public methodDurationPathPrimitiveUpdatePolicy
Constructs a default update policy. This is equivalent to constructing a policy with Duration set to 0 and a RemoveLocation of Front.
Public methodDurationPathPrimitiveUpdatePolicy(Duration, PathPrimitiveRemoveLocation)
Initializes a policy with the specified duration and removeLocation.
Top
Properties
  NameDescription
Public propertyDuration
Gets or sets the maximum duration that a point will lie on the line.
Public propertyRemoveLocation
Gets or sets where the positions on the path are removed from.
Top
Methods
  NameDescription
Public methodDispose (Inherited from PathPrimitiveUpdatePolicy.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Removes points from RemoveLocation when the amount of time between a point's Date and date is greater than Duration
(Overrides PathPrimitiveUpdatePolicyUpdate(PathPrimitive, JulianDate).)
Top
See Also