set

fun set(x: Double, y: Double, z: Double, distance: Double): Plane

Sets this plane's specified normal vector and distance to specified values. This normalizes the components, ensuring that the plane has a unit normal vector.

Return

this plane with its normal vector and distance set to specified values

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