Constructors
constructor
- new Plane(normal?, constant?): Plane
Parameters
Optional
normal: Vector3Optional
constant: number
Properties
constant
constant: number
Readonly
isPlane
isPlane
normal
Methods
applyMatrix4
- applyMatrix4(matrix, optionalNormalMatrix?): Plane
clone
- clone(): this
Returns this
coplanarPoint
- coplanarPoint(target): Vector3
copy
- copy(plane): this
Returns this
distanceToPoint
- distanceToPoint(point): number
Returns number
distanceToSphere
- distanceToSphere(sphere): number
Returns number
equals
- equals(plane): boolean
Returns boolean
intersectLine
- intersectLine(line, target): null | Vector3
Returns null | Vector3
intersectsBox
- intersectsBox(box): boolean
Returns boolean
intersectsLine
- intersectsLine(line): boolean
Returns boolean
intersectsSphere
- intersectsSphere(sphere): boolean
Returns boolean
isIntersectionLine
- isIntersectionLine(l): any
Returns any
negate
- negate(): Plane
normalize
- normalize(): Plane
projectPoint
- projectPoint(point, target): Vector3
set
- set(normal, constant): Plane
setComponents
- setComponents(x, y, z, w): Plane
Parameters
- x: number
- y: number
- z: number
- w: number
setFromCoplanarPoints
- setFromCoplanarPoints(a, b, c): Plane
setFromNormalAndCoplanarPoint
- setFromNormalAndCoplanarPoint(normal, point): Plane
translate
- translate(offset): Plane
Default