public class EllipsoidSurfaceCurveIntersectionResults extends Object
EllipsoidSurfaceCurves
.Constructor and Description |
---|
EllipsoidSurfaceCurveIntersectionResults(Cartographic location,
double distanceAlongPrimaryCurve,
double distanceAlongSecondaryCurve)
Initializes an instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getDistanceAlongPrimaryCurve()
Gets the distance from the
InitialPoint (get ) along the primary curve at which the intersection was found. |
double |
getDistanceAlongSecondaryCurve()
Gets the distance from the
InitialPoint (get ) along the secondary curve at which the intersection was found. |
Cartographic |
getLocation()
Gets the location of the intersection.
|
public EllipsoidSurfaceCurveIntersectionResults(@Nonnull Cartographic location, double distanceAlongPrimaryCurve, double distanceAlongSecondaryCurve)
location
- The location of the intersection.distanceAlongPrimaryCurve
- The distance along the primary curve.distanceAlongSecondaryCurve
- The distance along the secondary curve.@Nonnull public final Cartographic getLocation()
Undefined
(get
).public final double getDistanceAlongPrimaryCurve()
InitialPoint
(get
) along the primary curve at which the intersection was found. If no intersection was found
then this will be Double.POSITIVE_INFINITY
.public final double getDistanceAlongSecondaryCurve()
InitialPoint
(get
) along the secondary curve at which the intersection was found. If no intersection was found
then this will be Double.POSITIVE_INFINITY
.