IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Represent a torus in 3D. More...
#include <IMP/algebra/Torus3D.h>
Represent a torus in 3D.
See geometric primitives for more information.
Public Member Functions | |
Torus3D (double major_radius, double minor_radius) | |
double | get_major_radius () const |
double | get_minor_radius () const |
std::pair< double, algebra::Vector3D > | get_torus_distance (Sphere3D) const |
void | show (std::ostream &out=std::cout) const |
Related Functions | |
(Note that these are not member functions.) | |
BoundingBoxD< 3 > | get_bounding_box (const Torus3D &g) |
double | get_surface_area (const Torus3D &g) |
const Torus3D & | get_torus_3d_geometry (const Torus3D &g) |
double | get_volume (const Torus3D &g) |
void | set_torus_3d_geometry (Torus3D &g, const Torus3D &v) |
std::pair< double, algebra::Vector3D > IMP::algebra::Torus3D::get_torus_distance | ( | Sphere3D | sphere | ) | const |
Computes distance and derivative of a sphere s relative to the surface of a torus with major radius R and minor radius r (on z=0, the inner and outer torus rings have radii R-r and R+r, respectively).
|
related |