7#ifndef BALL_VIEW_PRIMITIV_TUBE_H
8#define BALL_VIEW_PRIMITIV_TUBE_H
10#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
14#ifndef BALL_VIEW_DATATYPE_VERTEX2_H
99 void set(const
Tube& tube);
120 float getLength()
const
121 {
return (getVertex1() - getVertex2()).getLength();}
128 {
return (getVertex1() - getVertex2()).getSquareLength();}
160 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
#define BALL_CREATE(name)
virtual bool isValid() const
void setRadius(float radius)
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
float getSquareLength() const
virtual void getVertices(vector< Vector3 > &vertices) const