MarkerBatchPrimitiveSetCartographic Method (CentralBody, IEnumerableCartographic, MarkerBatchPrimitiveOptionalParameters, RenderPassHint) |
Namespace: AGI.Foundation.Graphics
public void SetCartographic( CentralBody centralBody, IEnumerable<Cartographic> positions, MarkerBatchPrimitiveOptionalParameters optionalParameters, RenderPassHint renderPassHint )
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 Set(IEnumerableCartesian, MarkerBatchPrimitiveOptionalParameters, RenderPassHint) for a full discussion.