Plane

external class Plane(var normal: Cartesian3, var distance: Double)(source)

A plane in Hessian Normal Form defined by

ax + by + cz + d = 0

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.

// The plane x=0
const plane = new Plane(Cartesian3.UNIT_X, 0.0);

See also

Constructors

Link copied to clipboard
constructor(normal: Cartesian3, distance: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The plane's normal (normalized).