Go to the documentation of this file.
7 #ifndef BALL_VIEW_PRIMITIV_SPHERE_H
8 #define BALL_VIEW_PRIMITIV_SPHERE_H
10 #ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
14 #ifndef BALL_VIEW_MATHS_SPHERE3_H
83 void setRadius(
float new_radius)
84 { radius = new_radius;}
92 { point_ptr_->set(v3);}
96 {
return *point_ptr_;}
100 { point_ptr_ = (
Vector3 *)&v3;}
104 {
return point_ptr_;}
108 {
return point_ptr_ == &p;}
140 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
154 #endif // BALL_VIEW_PRIMITIV_SPHERE_H
void setDefaultPositionAddress()
virtual void getVertices(vector< Vector3 > &vertices) const
void setPosition(const Vector3 &v3)
const Vector3 & getPosition() const
bool isDefaultPositionAddress()
virtual bool isValid() const
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
Vector3 * getPositionAddress()
void setPositionAddress(const Vector3 &v3)
#define BALL_CREATE(name)