Click or drag to resize

EllipsoidSurfaceCurveGetDiscretePoints Method

Get a set of points which represent the curve discretely based on a given granularity.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public virtual IList<Cartographic> GetDiscretePoints(
	double granularity
)

Parameters

granularity
Type: SystemDouble
The maximum angular distance between the discrete points with respect to the center of the Ellipsoid. A small granularity will yield a more precise representation of the curve.

Return Value

Type: IListCartographic
A read only list of discrete planetodetic points which can approximate the curve as linear segments.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe granularity must be positive and non zero.
Remarks
If overriding this method, the set of points should accurately represent the curve using linear segments between points, using the given granularity as a measure of the maximum angular distance between points measured from the center of the Ellipsoid.
See Also