sc_SphereShape3
Usage
Inherits sc::Shape.
Public Member Functions
SphereShape (const
SCVector3
&,
double)
SphereShape (const
Ref<
KeyVal
>
&)
SphereShape (const
SphereShape
&)
double radius
()
const
const SCVector3
&
origin
()
const
double distance_to_surface
(const
SCVector3
&r,
SCVector3
*grad=0)
const
void print
(std::ostream
&o=ExEnv::out0())
const
const SCVector3
&
origin
(const
SCVector3
&o)
int gradient_implemented
()
const
Member Function Documentation
void sc::SphereShape::boundingbox (double minvalue, double maxvalue, SCVector3 & p1, SCVector3 & p2) [virtual]
Implements sc::Volume.
double sc::SphereShape::distance_to_surface (const SCVector3 & r, SCVector3 * grad = 0) const [virtual]
Implements sc::Shape.
int sc::SphereShape::gradient_implemented () const [virtual]
Reimplemented from sc::Function.
void sc::SphereShape::print (std::ostream & = ExEnv::out0()) const [virtual]
Print information about the object.
Reimplemented from sc::Function.
History
- Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye)
- Debian 6.0 (Squeeze)