KrisLibrary
1.0.0
|
A 3-D annulus innerRadius <= |x-center| <= outerRadius. More...
#include <WorkspaceBound.h>
Public Member Functions | |
void | setFull () |
void | setEmpty () |
void | setPoint (const Vector3 &pt) |
void | setSphere (const Sphere3D &s) |
void | setBall (const Sphere3D &s) |
void | setBallComplement (const Sphere3D &s) |
bool | isEmpty () const |
bool | isFull () const |
bool | isBall () const |
bool | isSphere () const |
void | getOuterSphere (Sphere3D &s) const |
void | getInnerSphere (Sphere3D &s) const |
bool | contains (const Vector3 &pt) const |
bool | contains (const HollowBall &b) const |
bool | containsBall (const Sphere3D &s) const |
bool | containsSphere (const Sphere3D &s) const |
bool | intersects (const Line3D &line, ClosedIntervalSet &intervals) const |
bool | intersects (const AxisSweptPoint &circle, AngleSet &arcs) const |
bool | intersects (const Arc3D &arc, AngleSet &arcs) const |
Real | closestPoint (const Line3D &line) const |
Real | closestPoint (const AxisSweptPoint &circle) const |
Public Attributes | |
Vector3 | center |
Real | outerRadius |
Real | innerRadius |
A 3-D annulus innerRadius <= |x-center| <= outerRadius.