| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/3dweb/src/math/ |
Upload File : |
import { Vector3 } from './Vector3';
import { Sphere } from './Sphere';
import { Line3 } from './Line3';
import { Box3 } from './Box3';
import { Matrix4 } from './Matrix4';
import { Matrix3 } from './Matrix3';
export class Plane {
constructor( normal?: Vector3, constant?: number );
normal: Vector3;
constant: number;
readonly isPlane: true;
set( normal: Vector3, constant: number ): Plane;
setComponents( x: number, y: number, z: number, w: number ): Plane;
setFromNormalAndCoplanarPoint( normal: Vector3, point: Vector3 ): Plane;
setFromCoplanarPoints( a: Vector3, b: Vector3, c: Vector3 ): Plane;
clone(): this;
copy( plane: Plane ): this;
normalize(): Plane;
negate(): Plane;
distanceToPoint( point: Vector3 ): number;
distanceToSphere( sphere: Sphere ): number;
projectPoint( point: Vector3, target: Vector3 ): Vector3;
orthoPoint( point: Vector3, target: Vector3 ): Vector3;
intersectLine( line: Line3, target: Vector3 ): Vector3 | undefined;
intersectsLine( line: Line3 ): boolean;
intersectsBox( box: Box3 ): boolean;
intersectsSphere( sphere: Sphere ): boolean;
coplanarPoint( target: Vector3 ): Vector3;
applyMatrix4( matrix: Matrix4, optionalNormalMatrix?: Matrix3 ): Plane;
translate( offset: Vector3 ): Plane;
equals( plane: Plane ): boolean;
/**
* @deprecated Use {@link Plane#intersectsLine .intersectsLine()} instead.
*/
isIntersectionLine( l: any ): any;
}