where (a, b, c) is the plane's normal, d is the signed
distance to the plane, and (x, y, z) is any point on
the plane.
alias Plane
- {Cartesian3} normal The plane's normal (normalized).
- {Number} distance The shortest distance from the origin to the plane. The sign of
distance determines which side of the plane the origin
is on. If distance is positive, the origin is in the half-space
in the direction of the normal; if negative, the origin is in the half-space
opposite to the normal; if zero, the plane passes through the origin.
Annotations
@RawJSType()@native()@JSName("Cesium.Plane")
Example:
// The plane x=0
var plane = new Cesium.Plane(Cesium.Cartesian3.UNIT_X, 0.0);
A plane in Hessian Normal Form defined by
where (a, b, c) is the plane'snormal
, d is the signeddistance
to the plane, and (x, y, z) is any point on the plane.alias Plane
- {Cartesian3} normal The plane's normal (normalized). - {Number} distance The shortest distance from the origin to the plane. The sign of
distance
determines which side of the plane the origin is on. Ifdistance
is positive, the origin is in the half-space in the direction of the normal; if negative, the origin is in the half-space opposite to the normal; if zero, the plane passes through the origin.// The plane x=0 var plane = new Cesium.Plane(Cesium.Cartesian3.UNIT_X, 0.0);