public abstract class EllipsoidSurfaceCurve extends Object
Modifier  Constructor and Description 

protected 
EllipsoidSurfaceCurve()
Initializes a new instance.

Modifier and Type  Method and Description 

abstract CartographicExtent 
computeCartographicExtent()
Computes the cartographic bounding box which completely contains the surface curve.

List<Cartographic> 
getDiscretePoints(double granularity)
Get a set of points which represent the curve discretely based on a given granularity.

abstract Ellipsoid 
getEllipsoid()
Gets the ellipsoid reference surface on which the curve lies.

abstract Cartographic 
getFinalPoint()
Gets the final planetodetic point on the path.

abstract Cartographic 
getInitialPoint()
Gets the initial planetodetic point on the path.

abstract double 
getSurfaceDistance()
Gets the total distance along the curve to the location of the final point.

abstract Cartographic 
interpolateUsingFraction(double fraction)
Provides the location of a point at the indicated portion along the curve.

abstract Cartographic 
interpolateUsingSurfaceDistance(double surfaceDistance)
Provides the location of a point at the indicated distance along the curve.

protected EllipsoidSurfaceCurve()
public abstract Ellipsoid getEllipsoid()
@Nonnull public abstract Cartographic getInitialPoint()
@Nonnull public abstract Cartographic getFinalPoint()
public abstract double getSurfaceDistance()
@Nonnull public abstract Cartographic interpolateUsingFraction(double fraction)
fraction
 The portion of the distance between the initial and final points.@Nonnull public abstract Cartographic interpolateUsingSurfaceDistance(double surfaceDistance)
surfaceDistance
 The distance from the initial point to the point of interest along the rhumb line.@Nonnull public abstract CartographicExtent computeCartographicExtent()
@Nonnull public List<Cartographic> getDiscretePoints(double granularity)
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
(get
).
granularity
 The maximum angular distance between the discrete points with respect to the center of
the Ellipsoid
(get
). A small granularity will yield a more precise representation
of the curve.ArgumentOutOfRangeException
 The granularity must be positive and non zero.