data class Plane3D: Any

Representation of a plane in 3D. See the wikipedia article on a plane.

Fields

Name Description
val vectorU: /** first canonical vector u of the plane */

first canonical vector u of the plane

val vectorV: /** second canonical vector v of the plane */

second canonical vector v of the plane

val point: Vector3D

point belonging to the plane

val normal: Vector3D

normal direction to the plane

val tolerance: Double

Constructors

<init>

constructor(point: Vector3D, normal: Vector3D, tolerance: Double)

Representation of a plane in 3D. See the wikipedia article on a plane.

Parameters

Name Description
point: Vector3D

point belonging to the plane

normal: Vector3D

normal direction to the plane

tolerance: Double

Methods

getOffset

fun getOffset(point: Vector3D): Double

Returns the oriented distance between the point and this plane.

Parameters

Name Description
point: Vector3D

ReturnValue

Name Description
Double

project

fun project(point: Vector3D): Vector3D

Projects the point onto this plane and returns the projected point.

Parameters

Name Description
point: Vector3D

ReturnValue

Name Description
Vector3D

isSimilarTo

fun isSimilarTo(other: Plane3D): Boolean

Returns true, if this plane is similar to the other plane.

Parameters

Name Description
other: Plane3D

ReturnValue

Name Description
Boolean

toPlane3DCm

fun toPlane3DCm(): ()

Returns adapted line plane class of Apache Commons Math.

ReturnValue

Name Description
()

CompanionObject

Plane3D

data class Plane3D: Any

Representation of a plane in 3D. See the wikipedia article on a plane.

Fields

Name Description
val XY_PLANE: Plane3D
val XZ_PLANE: Plane3D
val YZ_PLANE: Plane3D