For convenience. Updates a subset of
positions in a polyline using Cartographic positions. Longitude and
latitude are in radians, and altitude is in meters. This is
equivalent to converting each position in positions to Cartesian
and calling SetPartial
[Visual Basic .NET] |
---|
Public Sub SetPartialCartographicWithIndicesOrder( _
ByVal CentralBody As String, _
ByRef Positions As System.Array, _
ByRef Indices As System.Array, _
ByVal IndicesOrderHint As AgEStkGraphicsIndicesOrderHint _
)
|
[C#] |
---|
public void SetPartialCartographicWithIndicesOrder(
|
[Managed C++] |
---|
public: void SetPartialCartographicWithIndicesOrder(
|
[Java] |
---|
public setPartialCartographicWithIndicesOrder(
|
[Unmanaged C++] |
---|
public: HRESULT SetPartialCartographicWithIndicesOrder(
|
- CentralBody
- The central body the positions are defined on.
- Positions
- An array containing new positions used to update a subset of positions in the polyline, provided in the order latitude, longitude, altitude.
- Indices
- An array of integers containing the indices into positions. A set of latitude, longitude, and altitude elements is considered a single index.
- IndicesOrderHint
-
Member Value Description eStkGraphicsIndicesOrderHintNotSorted 0 The indices
passed toSetPartial
are not sorted. Therefore, the primitive may sort them to improve performance of writing its geometry to video memory.eStkGraphicsIndicesOrderHintSortedAscending 1 The indices
passed toSetPartial
are sorted in ascending order. Therefore, the primitive does not need to sort them. It is recommended to only useSortedAscending
if it is easy and efficient for you to provide theindices
in ascending order. For example, do not use a standard sorting algorithm to sort your indices so you can useSortedAscending
. Instead useNotSorted
and let the primitive decide what is most efficient.
See SetPartial for a full discussion.
Shows the format of
the Positions, Colors and Indices parameters when updating a
polyline primitive with cartographic positions.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Positions, Colors and Indices parameters when updating a
polyline primitive with cartographic positions.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|