>>> Test cases for osg::BoundingBox class <<<


Cnstr-BBox: osg::BoundingBox Functionality: set BBox [osg::BoundingBox]
Cnstr()                   : ( 3.40282e+038 3.40282e+038 3.40282e+038 ) ( -3.40282e+038 -3.40282e+038 -3.40282e+038 )
Cnstr(1 2 ...)            : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
Cnstr(Vec3, Vec3)         : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )

BBox-Scalar: osg::BoundingBox Functionality: set Scalar [$In method]
In osg::BoundingBox       : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
Method valid              : 1
Method xMin               : 1.0000
Method yMin               : 2.0000
Method zMin               : 3.0000
Method xMax               : 4.0000
Method yMax               : 5.0000
Method zMax               : 6.0000
Method radius             : 2.5981
Method radius2            : 6.7500

BBoxBBox-Scalar: osg::BoundingBox Functionality: set Scalar [$In1 method $In2]
In1 osg::BoundingBox      : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
In2 osg::BoundingBox      : ( 0.000 0.000 0.000 ) ( 5.000 5.000 5.000 )
Method intersects         : 1

BBoxBBox-BBox: osg::BoundingBox Functionality: set BBox [$In1 method $In2]
In1 osg::BoundingBox      : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
In2 osg::BoundingBox      : ( 0.000 0.000 0.000 ) ( 5.000 5.000 5.000 )
Method intersect          : ( 1.000 2.000 3.000 ) ( 4.000 5.000 5.000 )

BBox-Vec: osg::BoundingBox Functionality: set Vector [$In method]
In osg::BoundingBox       : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
Method center             : 2.500 3.500 4.500 

BBoxMisc: osg::BoundingBox Functionality: Miscellaneous
Method init:              : ( 3.40282e+038 3.40282e+038 3.40282e+038 ) ( -3.40282e+038 -3.40282e+038 -3.40282e+038 )
Method set 1 2 ..:        : ( 1.000 2.000 3.000 ) ( 4.000 5.000 6.000 )
Method set Vec3,Vec3:     : ( 0.000 1.000 0.000 ) ( 1.000 2.000 3.000 )
Method corner 0:          : 0.000 1.000 0.000 
Method corner 1:          : 1.000 1.000 0.000 
Method corner 2:          : 0.000 2.000 0.000 
Method corner 3:          : 1.000 2.000 0.000 
Method corner 4:          : 0.000 1.000 3.000 
Method corner 5:          : 1.000 1.000 3.000 
Method corner 6:          : 0.000 2.000 3.000 
Method corner 7:          : 1.000 2.000 3.000 
Method expandBy Vec3:     : ( 0.000 1.000 0.000 ) ( 1.000 4.000 3.000 )
Method expandBy x,y,z:    : ( 0.000 0.000 0.000 ) ( 4.000 4.000 3.000 )
Method expandBy BBox:     : ( 0.000 0.000 0.000 ) ( 4.000 5.000 6.000 )
Method expandBy BSphere:  : ( -3.000 -2.000 -1.000 ) ( 5.000 6.000 7.000 )
Method contains Vec3:     : 1

>>> Test cases for osg::BoundingSphere class <<<


Cnstr-BSphere: osg::BoundingSphere Functionality: set BSphere [osg::BoundingSphere]
Cnstr():                  : ( 0.000 0.000 0.000 ) -1.000 
Cnstr(Vec3,r):            : ( 0.000 0.000 0.000 ) 4.000 
Cnstr(BSphere):           : ( 0.000 0.000 0.000 ) 4.000 
Cnstr(BBox):              : ( 2.500 3.500 4.500 ) 2.598 

BSphere-Scalar: osg::BoundingSphere Functionality: set Scalar [$In method]
In osg::BoundingSphere    : ( 1.000 2.000 3.000 ) 4.000 
Method valid              : 1
Method radius             : 4.0000
Method radius2            : 16.0000

BSphereBSphere-Scalar: osg::BoundingSphere Functionality: set Scalar [$In1 method $In2]
In1 osg::BoundingSphere   : ( 1.000 2.000 3.000 ) 4.000 
In2 osg::BoundingSphere   : ( 0.000 0.000 0.000 ) 5.000 
Method intersects         : 1

BSphere-Vec: osg::BoundingSphere Functionality: set Vector [$In method]
In osg::BoundingSphere    : ( 1.000 2.000 3.000 ) 4.000 
Method center             : 1.000 2.000 3.000 

BSphereMisc: osg::BoundingSphere Functionality: Miscellaneous
Method init               : ( 0.000 0.000 0.000 ) -1.000 
Method set (Vec3,4)       : ( 1.000 2.000 3.000 ) 4.000 
Method expandBy Vec3      : ( 0.795 3.231 2.385 ) 5.391 
Method expandRadiusBy Vec3 : ( 1.000 2.000 3.000 ) 6.782 
Method expandBy BSphere   : ( 1.000 2.000 3.000 ) 6.782 
Method expandRadiusBy BSphere : ( 1.000 2.000 3.000 ) 6.782 
Method expandBy BBox      : ( 2.609 3.609 4.609 ) 14.534 
Method expandRadiusBy BBox : ( 2.609 3.609 4.609 ) 14.534 
Method contains Vec3      : 1
