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
72 void set(
const Sphere& sphere);
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;}
128 virtual bool isValid()
const;
140 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
143 virtual void getVertices(vector<Vector3>& vertices)
const;
154 #endif // BALL_VIEW_PRIMITIV_SPHERE_H
#define BALL_CREATE(name)
void setRadius(float new_radius)
void setPositionAddress(const Vector3 &v3)
bool isDefaultPositionAddress()
Vector3 * getPositionAddress()
void setPosition(const Vector3 &v3)
const Vector3 & getPosition() const
void setDefaultPositionAddress()