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