ClippingPlane

new Cesium.ClippingPlane(normal, distance) @cesium/engine/Source/Scene/ClippingPlane.js 19

A Plane in Hessian Normal form to be used with `ClippingPlaneCollection`. Compatible with mathematics functions in `Plane`
Name Type Description
`normal` Cartesian3 The plane's normal (normalized).
`distance` number 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.

Members

distance : number @cesium/engine/Source/Scene/ClippingPlane.js 42

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.

normal : Cartesian3 @cesium/engine/Source/Scene/ClippingPlane.js 62

The plane's normal.

Methods

static Cesium.ClippingPlane.clone(clippingPlane, result) → ClippingPlane @cesium/engine/Source/Scene/ClippingPlane.js 109

Clones the ClippingPlane without setting its ownership.
Name Type Description
`clippingPlane` ClippingPlane The ClippingPlane to be cloned
`result` ClippingPlane optional The object on which to store the cloned parameters.
Returns:
a clone of the input ClippingPlane

static Cesium.ClippingPlane.fromPlane(plane, result) → ClippingPlane @cesium/engine/Source/Scene/ClippingPlane.js 89

Create a ClippingPlane from a Plane object.
Name Type Description
`plane` Plane The plane containing parameters to copy
`result` ClippingPlane optional The object on which to store the result
Returns:
The ClippingPlane generated from the plane's parameters.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.