MarkerBatchPrimitiveSetPartialCartographic Method (CentralBody, IEnumerableCartographic, IEnumerableInt32) |
Namespace: AGI.Foundation.Graphics
public void SetPartialCartographic( CentralBody centralBody, IEnumerable<Cartographic> positions, IEnumerable<int> indices )
Exception | Condition |
---|---|
ArgumentNullException | centralBody is . |
InvalidOperationException | The primitive's ReferenceFrame is not equal to centralBody fixed frame. |
centralBody is used to convert positions to Cartesian. The primitive's ReferenceFrame must be equal to the centralBody fixed frame. If the primitive's ReferenceFrame is changed after calling this method, the Cartesian positions stored by the primitive are not modified and are unlikely to represent the original Cartographic positions provided to this method.
See SetPartial(IEnumerableCartesian, IEnumerableInt32) for a full discussion.