| 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 { Box3 } from './Box3';
import { Plane } from './Plane';
import { Matrix4 } from './Matrix4';
export class Sphere {
constructor( center?: Vector3, radius?: number );
center: Vector3;
radius: number;
set( center: Vector3, radius: number ): Sphere;
setFromPoints( points: Vector3[], optionalCenter?: Vector3 ): Sphere;
clone(): this;
copy( sphere: Sphere ): this;
isEmpty(): boolean;
makeEmpty(): this;
containsPoint( point: Vector3 ): boolean;
distanceToPoint( point: Vector3 ): number;
intersectsSphere( sphere: Sphere ): boolean;
intersectsBox( box: Box3 ): boolean;
intersectsPlane( plane: Plane ): boolean;
clampPoint( point: Vector3, target: Vector3 ): Vector3;
getBoundingBox( target: Box3 ): Box3;
applyMatrix4( matrix: Matrix4 ): Sphere;
translate( offset: Vector3 ): Sphere;
equals( sphere: Sphere ): boolean;
/**
* @deprecated Use {@link Sphere#isEmpty .isEmpty()} instead.
*/
empty(): any;
}