PolylinePrimitiveSetSubsetCartographic Method |
For convenience. Defines the positions of a polyline using a subset of input
Cartographic positions.
Longitude and latitude are in radians, and altitude is in meters.
This is equivalent to
converting the subset of
positions to
Cartesian and calling
SetSubset.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void SetSubsetCartographic(
CentralBody centralBody,
Cartographic[] positions,
int index,
int count
)
Public Sub SetSubsetCartographic (
centralBody As CentralBody,
positions As Cartographic(),
index As Integer,
count As Integer
)
public:
void SetSubsetCartographic(
CentralBody^ centralBody,
array<Cartographic>^ positions,
int index,
int count
)
member SetSubsetCartographic :
centralBody : CentralBody *
positions : Cartographic[] *
index : int *
count : int -> unit
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body the positions are defined on. - positions
- Type: AGI.Foundation.CoordinatesCartographic
An array of positions. The subset of this array defined by
index and count define
the new positions for the polyline.
- index
- Type: SystemInt32
A zero-based index into positions that defines
the first position copied to the polyline.
- count
- Type: SystemInt32
The number of elements in positions copied
to the polyline.
Exceptions Remarks See Also