C# Class THREE.Box3

Mostra file Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
max Vector3
min Vector3

Public Methods

Method Description
Box3 ( Vector3 min, Vector3 max ) : System
center ( ) : Vector3
clone ( ) : Box3
containsPoint ( Vector3 point ) : bool
distanceToPoint ( Vector3 point ) : double
empty ( ) : bool
equals ( Box3 bb ) : bool
expandByPoint ( Vector3 p ) : void
expandByScalar ( double s ) : Box3
expandByVector ( Vector3 vector3 ) : Box3
getBoundingSphere ( ) : Sphere
makeEmpty ( ) : Box3
set ( Vector3 min, Vector3 max ) : void
setFromObject ( Object3D obj ) : Box3
size ( ) : Vector3

Private Methods

Method Description
isIntersectionBox ( Box3 box ) : bool

Method Details

Box3() public method

public Box3 ( Vector3 min, Vector3 max ) : System
min Vector3
max Vector3
return System

center() public method

public center ( ) : Vector3
return Vector3

clone() public method

public clone ( ) : Box3
return Box3

containsPoint() public method

public containsPoint ( Vector3 point ) : bool
point Vector3
return bool

distanceToPoint() public method

public distanceToPoint ( Vector3 point ) : double
point Vector3
return double

empty() public method

public empty ( ) : bool
return bool

equals() public method

public equals ( Box3 bb ) : bool
bb Box3
return bool

expandByPoint() public method

public expandByPoint ( Vector3 p ) : void
p Vector3
return void

expandByScalar() public method

public expandByScalar ( double s ) : Box3
s double
return Box3

expandByVector() public method

public expandByVector ( Vector3 vector3 ) : Box3
vector3 Vector3
return Box3

getBoundingSphere() public method

public getBoundingSphere ( ) : Sphere
return Sphere

makeEmpty() public method

public makeEmpty ( ) : Box3
return Box3

set() public method

public set ( Vector3 min, Vector3 max ) : void
min Vector3
max Vector3
return void

setFromObject() public method

public setFromObject ( Object3D obj ) : Box3
obj Object3D
return Box3

size() public method

public size ( ) : Vector3
return Vector3

Property Details

max public_oe property

public Vector3 max
return Vector3

min public_oe property

public Vector3 min
return Vector3