25class EXPCL_PANDAPHYSX PhysxSphere {
29 INLINE PhysxSphere(
const PhysxSphere &sphere);
30 INLINE ~PhysxSphere();
32 bool contains(
const LPoint3f &p)
const;
33 bool contains(
const PhysxSphere &sphere)
const;
34 bool contains(
const LPoint3f &min,
const LPoint3f &max)
const;
35 bool intersect(
const PhysxSphere &sphere)
const;
void set_center(LPoint3f value)
Sets the center of the sphere.
LPoint3f get_center() const
Returns the center of the sphere.
bool contains(const LPoint3f &p) const
Tests if a point is contained within the sphere.
void set_radius(float value)
Sets the sphere's radius.
bool is_valid() const
Returns TRUE if this sphere is valid.
float get_radius() const
Returns the sphere's radius.
bool intersect(const PhysxSphere &sphere) const
Tests if the sphere intersects another sphere.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.