IntersectionTests
DOC_TBA
Methods
-
<static> grazingAltitudeLocation
-
Provides the point along the ray which is nearest to the ellipsoid.
Parameters:
Name Type Description rayRay The ray. ellipsoidEllipsoid The ellipsoid. Throws:
-
DeveloperError : ray is required.
-
DeveloperError : ellipsoid is required.
Returns:
Cartesian The nearest planetodetic point on the ray. -
-
<static> rayEllipsoid
-
Computes the intersection points of a ray with an ellipsoid.
Parameters:
Name Type Description rayRay The ray. ellipsoidEllipsoid The ellipsoid. Throws:
-
DeveloperError : ray is required.
-
DeveloperError : ellipsoid is required.
Returns:
Array An array of one or two intersection scalars for points along the ray or undefined if there are no intersections. -
-
<static> rayPlane
-
Computes the intersection of a ray and a plane.
Parameters:
Name Type Description rayRay The ray. planeNormalCartesian3 The plane normal. planeDNumber The distance from the plane to the origin. Throws:
-
DeveloperError : ray is required.
-
DeveloperError : planeNormal is required.
-
DeveloperError : planeD is required.
Returns:
Cartesian3 The intersection point or undefined if there is no intersections. -
