
Public Member Functions | |
| Sphere () | |
| Sphere (const osg::Vec3 ¢er, float radius) | |
| Sphere (const Sphere &sphere, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Shape (osg, Sphere) | |
| bool | valid () const |
| void | set (const Vec3 ¢er, float radius) |
| void | setCenter (const Vec3 ¢er) |
| const Vec3 & | getCenter () const |
| void | setRadius (float radius) |
| float | getRadius () const |
Protected Member Functions | |
| virtual | ~Sphere () |
Protected Attributes | |
| Vec3 | _center |
| float | _radius |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|