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.3.420.0 (24.3.420.0)
Syntax public virtual IList<Cartographic> GetDiscretePoints(
double granularity
)
Public Overridable Function GetDiscretePoints (
granularity As Double
) As IList(Of Cartographic)
public:
virtual IList<Cartographic>^ GetDiscretePoints(
double granularity
)
abstract GetDiscretePoints :
granularity : float -> IList<Cartographic>
override GetDiscretePoints :
granularity : float -> IList<Cartographic>
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:
IListCartographicA read only list of discrete planetodetic points which can approximate the curve as linear segments.
Exceptions 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