AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsPathPrimitive Collection

Description

Renders a line to the 3D scene. Similar to the PolylinePrimitive; however, the PathPrimitive was designed for the efficient addition/removal of points to/from the front or back of the line.

Object Model

Public Methods

Public Method AddBack Add a PathPoint to the back of the line.
Public Method AddFront Add a PathPoint to the front of the line.
Public Method AddRangeToBack Add the range of PathPoints to the back of the line.
Public Method AddRangeToFront Add the range of PathPoints to the front of the line.
Public Method Back Access the PathPoint at the back of the line.
Public Method Clear Removes all of the points.
Public Method Front Access the PathPoint at the front of the line.
Public Method RemoveAllAfter Remove all points after index.
Public Method RemoveAllBefore Remove all points before index.
Public Method RemoveBack Remove a PathPoint to the back of the line.
Public Method RemoveFront Remove a PathPoint to the front of the line.

Public Properties

Public Property Capacity Returns the capacity that was set during object construction. The capacity is the amount of memory reserved for storing the points on the path. This will be automatically updated when adding/removing points.
Public Property Count Returns the number of points.
Public Property DisplayOutline Gets or sets whether an outline is rendered around the line.
Public Property Item Returns the point at the given zero-based index.
Public Property MaximumWidthSupported Gets the maximum width, in pixels, supported by the video card.
Public Property MinimumWidthSupported Gets the minimum width, in pixels, supported by the video card.
Public Property OutlineWidth Gets or sets the width, in pixels, of the outline around the line.
Public Property PerItemPickingEnabled Gets or sets whether individual line indices will be included in the PickResults returned from the Scene's Pick method. Each line index that is picked will be returned as a BatchPrimitiveIndex.
Public Property PolylineType Gets or sets how the primitive interprets the positions.
Public Property UpdatePolicy Gets or sets how the primitive will be updated based on the current animation time.
Public Property Width Gets or sets the line width, in pixels.

See Also

CoClasses that Implement IAgStkGraphicsPathPrimitive

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1