| Package | Description | 
|---|---|
| org.cesiumjs.cs.core | |
| org.cesiumjs.cs.scene | 
| Modifier and Type | Method and Description | 
|---|---|
static Plane | 
Plane.clone(Plane plane)
Duplicates a Plane instance. 
 | 
static Plane | 
Plane.clone(Plane plane,
     Plane result)
Duplicates a Plane instance. 
 | 
static Plane | 
Plane.equals(Plane left,
      Plane right)
Compares the provided Planes by normal and distance and returns true if they are equal, false otherwise. 
 | 
static Plane | 
Plane.fromCartesian4(Cartesian4 coefficients)
Creates a plane from the general equation 
 | 
static Plane | 
Plane.fromCartesian4(Cartesian4 coefficients,
              Plane result)
Creates a plane from the general equation 
 | 
static Plane | 
Plane.fromPointNormal(Cartesian3 point,
               Cartesian3 normal)
Creates a plane from a normal and a point on the plane. 
 | 
static Plane | 
Plane.fromPointNormal(Cartesian3 point,
               Cartesian3 normal,
               Plane result)
Creates a plane from a normal and a point on the plane. 
 | 
static Plane | 
Plane.ORIGIN_XY_PLANE()
A constant initialized to the XY plane passing through the origin, with normal in positive Z. 
 | 
static Plane | 
Plane.ORIGIN_YZ_PLANE()
A constant initialized to the YZ plane passing through the origin, with normal in positive X. 
 | 
static Plane | 
Plane.ORIGIN_ZX_PLANE()
A constant initialized to the ZX plane passing through the origin, with normal in positive Y. 
 | 
static Plane | 
Plane.transform(Plane plane,
         Matrix4 transform)
Transforms the plane by the given transformation matrix. 
 | 
static Plane | 
Plane.transform(Plane plane,
         Matrix4 transform,
         Plane result)
Transforms the plane by the given transformation matrix. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Plane | 
Plane.clone(Plane plane)
Duplicates a Plane instance. 
 | 
static Plane | 
Plane.clone(Plane plane,
     Plane result)
Duplicates a Plane instance. 
 | 
static Plane | 
Plane.equals(Plane left,
      Plane right)
Compares the provided Planes by normal and distance and returns true if they are equal, false otherwise. 
 | 
static Plane | 
Plane.fromCartesian4(Cartesian4 coefficients,
              Plane result)
Creates a plane from the general equation 
 | 
static Plane | 
Plane.fromPointNormal(Cartesian3 point,
               Cartesian3 normal,
               Plane result)
Creates a plane from a normal and a point on the plane. 
 | 
static double | 
Plane.getPointDistance(Plane plane,
                Cartesian3 point)
Computes the signed shortest distance of a point to a plane. 
 | 
static Integer | 
AxisAlignedBoundingBox.intersectPlane(AxisAlignedBoundingBox box,
              Plane plane)
Determines which side of a plane a box is located. 
 | 
static Integer | 
BoundingSphere.intersectPlane(BoundingSphere sphere,
              Plane plane)
Determines which side of a plane a sphere is located. 
 | 
static Integer | 
OrientedBoundingBox.intersectPlane(OrientedBoundingBox box,
              Plane plane)
Determines which side of a plane the oriented bounding box is located. 
 | 
Number | 
OrientedBoundingBox.intersectPlane(Plane plane)
Determines which side of a plane the oriented bounding box is located. 
 | 
Number | 
BoundingSphere.intersectPlane(Plane plane)
Determines which side of a plane the sphere is located. 
 | 
int | 
AxisAlignedBoundingBox.intersectPlane(Plane plane)
Determines which side of a plane this box is located. 
 | 
static Cartesian3 | 
IntersectionTests.lineSegmentPlane(Cartesian3 endPoint0,
                Cartesian3 endPoint1,
                Plane plane)
Computes the intersection of a line segment and a plane. 
 | 
static Cartesian3 | 
IntersectionTests.lineSegmentPlane(Cartesian3 endPoint0,
                Cartesian3 endPoint1,
                Plane plane,
                Cartesian3 result)
Computes the intersection of a line segment and a plane. 
 | 
static Cartesian3 | 
Plane.projectPointOntoPlane(Plane plane,
                     Cartesian3 point)
Projects a point onto the plane. 
 | 
static Cartesian3 | 
Plane.projectPointOntoPlane(Plane plane,
                     Cartesian3 point,
                     Cartesian3 result)
Projects a point onto the plane. 
 | 
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 Plane | 
Plane.transform(Plane plane,
         Matrix4 transform)
Transforms the plane by the given transformation matrix. 
 | 
static Plane | 
Plane.transform(Plane plane,
         Matrix4 transform,
         Plane result)
Transforms the plane by the given transformation matrix. 
 | 
static Object | 
IntersectionTests.trianglePlaneIntersection(Cartesian3 p0,
                         Cartesian3 p1,
                         Cartesian3 p2,
                         Plane plane)
Computes the intersection of a triangle and a plane 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ClippingPlane
A Plane in Hessian Normal form to be used with  
ClippingPlaneCollection. | 
| Modifier and Type | Method and Description | 
|---|---|
static ClippingPlane | 
ClippingPlane.fromPlane(Plane plane)
Create a ClippingPlane from a Plane object. 
 | 
static ClippingPlane | 
ClippingPlane.fromPlane(Plane plane,
         ClippingPlane result)
Create a ClippingPlane from a Plane object. 
 | 
Copyright © 2019. All rights reserved.