| 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 { BufferAttribute } from './../core/BufferAttribute';
import { Vector3 } from './Vector3';
import { Object3D } from './../core/Object3D';
import { Sphere } from './Sphere';
import { Plane } from './Plane';
import { Matrix4 } from './Matrix4';
import { Triangle } from './Triangle';
export class Box3 {
constructor( min?: Vector3, max?: Vector3 );
max: Vector3;
min: Vector3;
readonly isBox3: true;
set( min: Vector3, max: Vector3 ): this;
setFromArray( array: ArrayLike<number> ): this;
setFromBufferAttribute( bufferAttribute: BufferAttribute ): this;
setFromPoints( points: Vector3[] ): this;
setFromCenterAndSize( center: Vector3, size: Vector3 ): this;
setFromObject( object: Object3D ): this;
clone(): this;
copy( box: Box3 ): this;
makeEmpty(): this;
isEmpty(): boolean;
getCenter( target: Vector3 ): Vector3;
getSize( target: Vector3 ): Vector3;
expandByPoint( point: Vector3 ): this;
expandByVector( vector: Vector3 ): this;
expandByScalar( scalar: number ): this;
expandByObject( object: Object3D ): this;
containsPoint( point: Vector3 ): boolean;
containsBox( box: Box3 ): boolean;
getParameter( point: Vector3 ): Vector3;
intersectsBox( box: Box3 ): boolean;
intersectsSphere( sphere: Sphere ): boolean;
intersectsPlane( plane: Plane ): boolean;
intersectsTriangle( triangle: Triangle ): boolean;
clampPoint( point: Vector3, target: Vector3 ): Vector3;
distanceToPoint( point: Vector3 ): number;
getBoundingSphere( target: Sphere ): Sphere;
intersect( box: Box3 ): this;
union( box: Box3 ): this;
applyMatrix4( matrix: Matrix4 ): this;
translate( offset: Vector3 ): this;
equals( box: Box3 ): boolean;
/**
* @deprecated Use {@link Box3#isEmpty .isEmpty()} instead.
*/
empty(): any;
/**
* @deprecated Use {@link Box3#intersectsBox .intersectsBox()} instead.
*/
isIntersectionBox( b: any ): any;
/**
* @deprecated Use {@link Box3#intersectsSphere .intersectsSphere()} instead.
*/
isIntersectionSphere( s: any ): any;
}