Package | Description |
---|---|
org.cesiumjs.cs.collections | |
org.cesiumjs.cs.core | |
org.cesiumjs.cs.scene |
Modifier and Type | Method and Description |
---|---|
Promise<ImageryLayerFeatureInfo[],Void> |
ImageryLayerCollection.pickImageryLayerFeatures(Ray ray,
Scene scene)
Asynchronously determines the imagery layer features that are intersected by a pick ray.
|
Modifier and Type | Method and Description |
---|---|
static Ray |
Ray.clone(Ray ray)
Duplicates a Ray instance.
|
static Ray |
Ray.clone(Ray ray,
Ray result)
Duplicates a Ray instance.
|
Modifier and Type | Method and Description |
---|---|
static Ray |
Ray.clone(Ray ray)
Duplicates a Ray instance.
|
static Ray |
Ray.clone(Ray ray,
Ray result)
Duplicates a Ray instance.
|
static Cartesian3 |
Ray.getPoint(Ray ray,
double t)
Computes the point along the ray given by r(t) = o + t*d, where o is the origin of the ray and d is the direction.
|
static Cartesian3 |
Ray.getPoint(Ray ray,
double t,
Cartesian3 result)
Computes the point along the ray given by r(t) = o + t*d, where o is the origin of the ray and d is the direction.
|
static Cartesian3 |
IntersectionTests.grazingAltitudeLocation(Ray ray,
Ellipsoid ellipsoid)
Provides the point along the ray which is nearest to the ellipsoid.
|
static Interval |
IntersectionTests.rayEllipsoid(Ray ray,
Ellipsoid ellipsoid)
Computes the intersection points of a ray with an ellipsoid.
|
static Cartesian3 |
IntersectionTests.rayPlane(Ray ray,
Plane plane)
Computes the intersection of a ray and a plane.
|
static Cartesian3 |
IntersectionTests.rayPlane(Ray ray,
Plane plane,
Cartesian3 result)
Computes the intersection of a ray and a plane.
|
static Interval |
IntersectionTests.raySphere(Ray ray,
BoundingSphere sphere)
Computes the intersection points of a ray with a sphere.
|
static Interval |
IntersectionTests.raySphere(Ray ray,
BoundingSphere sphere,
Interval result)
Computes the intersection points of a ray with a sphere.
|
static Cartesian3 |
IntersectionTests.rayTriangle(Ray ray,
Cartesian3 p0,
Cartesian3 p1,
Cartesian3 p2)
Computes the intersection of a ray and a triangle as a Cartesian3 coordinate.
|
static Cartesian3 |
IntersectionTests.rayTriangle(Ray ray,
Cartesian3 p0,
Cartesian3 p1,
Cartesian3 p2,
boolean cullBackFaces)
Computes the intersection of a ray and a triangle as a Cartesian3 coordinate.
|
static Cartesian3 |
IntersectionTests.rayTriangle(Ray ray,
Cartesian3 p0,
Cartesian3 p1,
Cartesian3 p2,
boolean cullBackFaces,
Cartesian3 result)
Computes the intersection of a ray and a triangle as a Cartesian3 coordinate.
|
Modifier and Type | Method and Description |
---|---|
Ray |
Camera.getPickRay(Cartesian2 windowPosition)
Create a ray from the camera position through the pixel at windowPosition in world coordinates.
|
Ray |
Camera.getPickRay(Cartesian2 windowPosition,
Ray result)
Create a ray from the camera position through the pixel at windowPosition in world coordinates.
|
Modifier and Type | Method and Description |
---|---|
Ray |
Camera.getPickRay(Cartesian2 windowPosition,
Ray result)
Create a ray from the camera position through the pixel at windowPosition in world coordinates.
|
Cartesian3 |
Globe.pick(Ray ray,
Scene scene)
Find an intersection between a ray and the globe surface that was rendered.
|
Cartesian3 |
Globe.pick(Ray ray,
Scene scene,
Cartesian3 result)
Find an intersection between a ray and the globe surface that was rendered.
|
Copyright © 2019. All rights reserved.