@JsType(isNative=true, namespace="Cesium", name="EllipsoidRhumbLine") public class EllipsoidRhumbLine extends Object
Constructor and Description |
---|
EllipsoidRhumbLine()
Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
|
EllipsoidRhumbLine(Cartographic start)
Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
|
EllipsoidRhumbLine(Cartographic start,
Cartographic end)
Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
|
EllipsoidRhumbLine(Cartographic start,
Cartographic end,
Ellipsoid ellipsoid)
Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
|
Modifier and Type | Method and Description |
---|---|
Ellipsoid |
ellipsoid()
Gets the ellipsoid.
|
Cartographic |
end()
Gets the final planetodetic point on the path.
|
Cartographic |
findIntersectionWithLatitude(double intersectionLatitude)
Provides the location of a point at the indicated latitude along the rhumb line.
|
Cartographic |
findIntersectionWithLatitude(double intersectionLatitude,
Cartographic result)
Provides the location of a point at the indicated latitude along the rhumb line.
|
Cartographic |
findIntersectionWithLongitude(double intersectionLongitude)
Provides the location of a point at the indicated longitude along the rhumb line.
|
Cartographic |
findIntersectionWithLongitude(double intersectionLongitude,
Cartographic result)
Provides the location of a point at the indicated longitude along the rhumb line.
|
static EllipsoidRhumbLine |
fromStartHeadingDistance(Cartographic start,
double heading,
double distance)
Create a rhumb line using an initial position with a heading and distance.
|
static EllipsoidRhumbLine |
fromStartHeadingDistance(Cartographic start,
double heading,
double distance,
Ellipsoid ellipsoid)
Create a rhumb line using an initial position with a heading and distance.
|
static EllipsoidRhumbLine |
fromStartHeadingDistance(Cartographic start,
double heading,
double distance,
Ellipsoid ellipsoid,
EllipsoidRhumbLine result)
Create a rhumb line using an initial position with a heading and distance.
|
double |
heading()
Gets the heading from the start point to the end point.
|
Cartographic |
interpolateUsingFraction(double fraction)
Provides the location of a point at the indicated portion along the rhumb line.
|
Cartographic |
interpolateUsingSurfaceDistance(double distance)
Provides the location of a point at the indicated distance along the rhumb line.
|
Cartographic |
interpolateUsingSurfaceDistance(double distance,
Cartographic result)
Provides the location of a point at the indicated distance along the rhumb line.
|
void |
setEndPoints(Cartographic start,
Cartographic end)
Sets the start and end points of the rhumb line.
|
Cartographic |
start()
Gets the initial planetodetic point on the path.
|
double |
surfaceDistance()
Gets the surface distance between the start and end point
|
@JsConstructor public EllipsoidRhumbLine()
@JsConstructor public EllipsoidRhumbLine(Cartographic start)
start
- The initial planetodetic point on the path.@JsConstructor public EllipsoidRhumbLine(Cartographic start, Cartographic end)
start
- The initial planetodetic point on the path.end
- The final planetodetic point on the path.@JsConstructor public EllipsoidRhumbLine(Cartographic start, Cartographic end, Ellipsoid ellipsoid)
start
- The initial planetodetic point on the path.end
- The final planetodetic point on the path.ellipsoid
- The ellipsoid on which the rhumb line lies.@JsProperty(name="ellipsoid") public Ellipsoid ellipsoid()
@JsProperty(name="end") public Cartographic end()
@JsProperty(name="heading") public double heading()
@JsProperty(name="start") public Cartographic start()
@JsProperty(name="surfaceDistance") public double surfaceDistance()
@JsMethod public static EllipsoidRhumbLine fromStartHeadingDistance(Cartographic start, double heading, double distance)
start
- The initial planetodetic point on the path.heading
- The heading in radians.distance
- The rhumb line distance between the start and end point.@JsMethod public static EllipsoidRhumbLine fromStartHeadingDistance(Cartographic start, double heading, double distance, Ellipsoid ellipsoid)
start
- The initial planetodetic point on the path.heading
- The heading in radians.distance
- The rhumb line distance between the start and end point.ellipsoid
- The ellipsoid on which the rhumb line lies.@JsMethod public static EllipsoidRhumbLine fromStartHeadingDistance(Cartographic start, double heading, double distance, Ellipsoid ellipsoid, EllipsoidRhumbLine result)
start
- The initial planetodetic point on the path.heading
- The heading in radians.distance
- The rhumb line distance between the start and end point.ellipsoid
- The ellipsoid on which the rhumb line lies.result
- The object in which to store the result.@JsMethod public Cartographic findIntersectionWithLatitude(double intersectionLatitude)
intersectionLatitude
- The latitude, in radians, at which to find the intersection point from the starting point using the heading.@JsMethod public Cartographic findIntersectionWithLatitude(double intersectionLatitude, Cartographic result)
intersectionLatitude
- The latitude, in radians, at which to find the intersection point from the starting point using the heading.result
- The object in which to store the result.@JsMethod public Cartographic findIntersectionWithLongitude(double intersectionLongitude)
intersectionLongitude
- The longitude, in radians, at which to find the intersection point from the starting point using the heading.@JsMethod public Cartographic findIntersectionWithLongitude(double intersectionLongitude, Cartographic result)
intersectionLongitude
- The longitude, in radians, at which to find the intersection point from the starting point using the heading.result
- The object in which to store the result.@JsMethod public Cartographic interpolateUsingFraction(double fraction)
fraction
- The portion of the distance between the initial and final points.@JsMethod public Cartographic interpolateUsingSurfaceDistance(double distance)
distance
- The distance from the inital point to the point of interest along the rhumbLine.@JsMethod public Cartographic interpolateUsingSurfaceDistance(double distance, Cartographic result)
distance
- The distance from the inital point to the point of interest along the rhumbLine.result
- The object in which to store the result.@JsMethod public void setEndPoints(Cartographic start, Cartographic end)
start
- The initial planetodetic point on the path.end
- The final planetodetic point on the path.Copyright © 2019. All rights reserved.