PolylinePrimitiveSetCartographic Method (CentralBody, IEnumerableCartographic) |
Namespace: AGI.Foundation.Graphics
public void SetCartographic( CentralBody centralBody, IEnumerable<Cartographic> positions )
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 for a full discussion.