Plane

constructor()

Constructs a plane in the X-Y plane with its unit normal pointing along the Z axis.


constructor(x: Double, y: Double, z: Double, distance: Double)

Constructs a plane with specified normal vector components and distance from the origin. This constructor normalizes the components, ensuring that the plane has a unit normal vector.

Parameters

x

the X component of the plane's normal vector

y

the Y component of the plane's normal vector

z

the Z component of the plane's normal vector

distance

the plane's distance from the origin


constructor(plane: Plane)

Constructs a plane with the normal vector and distance from a specified plane.

Parameters

plane

the plane specifying the normal vector and distance