PolylinePrimitive.SetSubsetCartographic 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.3.420.0 (24.3.420.0)
Syntaxpublic 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.Celestial.CentralBody
The central body the positions are defined on. - positions
- Type:AGI.Foundation.Coordinates.Cartographic[]
An array of positions. The subset of this array defined by
index and count define
the new positions for the polyline.
- index
- Type: System.Int32
A zero-based index into positions that defines
the first position copied to the polyline.
- count
- Type: System.Int32
The number of elements in positions copied
to the polyline.
Exceptions
Remarks
See Also