Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/math/Plane.d.ts>Plane

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class Plane
import { Plane } from "https://deno.land/x/threejs_4_deno@v121/src/math/Plane.d.ts";

Constructors

new
Plane(normal?: Vector3, constant?: number)

Properties

constant: number
readonly
isPlane: true
normal: Vector3

Methods

applyMatrix4(matrix: Matrix4, optionalNormalMatrix?: Matrix3): Plane
clone(): this
copy(plane: Plane): this
distanceToPoint(point: Vector3): number
distanceToSphere(sphere: Sphere): number
equals(plane: Plane): boolean
intersectLine(line: Line3, target: Vector3): Vector3 | undefined
intersectsBox(box: Box3): boolean
intersectsLine(line: Line3): boolean
intersectsSphere(sphere: Sphere): boolean
deprecated
isIntersectionLine(l: any): any
orthoPoint(point: Vector3, target: Vector3): Vector3
set(normal: Vector3, constant: number): Plane
setComponents(
x: number,
y: number,
z: number,
w: number,
): Plane