46 libmesh_assert_greater (r, 0.);
76 libmesh_assert_greater (
std::abs(D), 1e-12);
98 Real r = (c-pa).norm();
116 libmesh_assert_greater (this->
radius(), 0.);
123 return distance(other_sphere) < 0 ? true :
false;
130 libmesh_assert_greater ( this->
radius(), 0. );
131 libmesh_assert_greater ( other_sphere.
radius(), 0. );
135 return the_distance - (this->
radius() + other_sphere.
radius());
142 libmesh_assert_greater (this->
radius(), 0.);
157 libmesh_assert_greater (this->
radius(), 0.);
166 libmesh_assert_greater (this->
radius(), 0.);
183 libmesh_assert_greater (this->
radius(), 0.);
200 libmesh_assert_greater (this->
radius(), 0.);
202 libmesh_assert_not_equal_to (p, this->
center());
virtual bool above_surface(const Point &p) const override
A geometric object representing a sphere.
virtual Point closest_point(const Point &p) const override
const Point & center() const
TypeVector< T > unit() const
virtual bool on_surface(const Point &p) const override
Real distance(const Sphere &other_sphere) const
virtual Point unit_normal(const Point &p) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void create_from_center_radius(const Point &c, const Real r)
Base class for Plane and Sphere classes.
A geometric point in (x,y,z) space.
virtual bool below_surface(const Point &p) const override
bool intersects(const Sphere &other_sphere) const