[ DockingLib | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
// construction | |
Torus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp); | |
void | computeTorus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp); |
void | computeCuspPoints(const float rp); |
// queries | |
const Vector3& | getCenter() const ; |
const Vector3& | getAxis() const ; |
float | getRadius() const ; |
const Vector3& | getCusp1() const ; |
const Vector3& | getCusp2() const ; |
bool | isSingular() const ; |
unsigned int | sampleArc(const Vector3& p1, const Vector3& p2, const float delta, const float rp, vector< Vector3>& samplePoints) const; |
friend ostream& | operator<<(ostream& s, const Torus& t) ; |
protected: | |
Vector3 | center; |
Vector3 | axis; |
float | radius; |
Vector3 cusp1, | cusp2; |
bool | singular; |
Torus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp);
Torus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp);
void computeTorus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp);
void computeCuspPoints(const float rp);
void computeCuspPoints(const float rp);
const Vector3& getCenter() const ;
Torus center
const Vector3& getCenter() const ;
Function is currently defined inline.
const Vector3& getAxis() const ;
Torus axis: unit vector between two atoms
const Vector3& getAxis() const ;
Function is currently defined inline.
float getRadius() const ;
Torus radius
float getRadius() const ;
Function is currently defined inline.
const Vector3& getCusp1() const ;
Cusp points in case when torus radius < probe radius
const Vector3& getCusp1() const ;
Function is currently defined inline.
const Vector3& getCusp2() const ;
const Vector3& getCusp2() const ;
Function is currently defined inline.
bool isSingular() const ;
Function is currently defined inline.
unsigned int sampleArc(const Vector3& p1, const Vector3& p2, const float delta, const float rp, vector< Vector3>& samplePoints) const;
friend ostream& operator<<(ostream& s, const Torus& t) ;
friend ostream& operator<<(ostream& s, const Torus& t) ;
Function is currently defined inline.
Vector3 center;
Vector3 axis;
float radius;
Vector3 cusp1, cusp2;
bool singular;
public: | ||
---|---|---|
// construction | ||
void | computeTorus(const Vector3& ai, const Vector3& aj, const float ri, const float rj, const float rp); | |
void | computeCuspPoints(const float rp); | |
// queries | ||
const Vector3& | getCenter() const ; | |
const Vector3& | getAxis() const ; | |
float | getRadius() const ; | |
const Vector3& | getCusp1() const ; | |
const Vector3& | getCusp2() const ; | |
bool | isSingular() const ; | |
unsigned int | sampleArc(const Vector3& p1, const Vector3& p2, const float delta, const float rp, vector< Vector3>& samplePoints) const; | |
friend ostream& | operator<<(ostream& s, const Torus& t) ; | |
protected: | ||
Vector3 | center; | |
Vector3 | axis; | |
float | radius; | |
Vector3 cusp1, | cusp2; | |
bool | singular; |
Report problems to jkotula@unimax.com