IMP
2.2.0
The Integrative Modeling Platform
|
#include <IMP/algebra/Cone3D.h>
Public Member Functions | |
Cone3D (const Segment3D &s, double radius) | |
double | get_angle () const |
Plane3D | get_base_plane () const |
Get the plane supporting the base of the cone. More... | |
bool | get_contains (const Vector3D &v) const |
Vector3D | get_direction () const |
Get the direction of the axis of the cone. More... | |
double | get_height () const |
double | get_radius () const |
get the radius of the base circle | |
Vector3D | get_tip () const |
Get the vertex of the cone. | |
void | show (std::ostream &out=std::cout) const |
In general, a cone is a pyramid with a circular cross section. A right cone is a cone with its vertex above the center of its base. However, when used without qualification, the term "cone" often means "right cone." We have implemented a "right cone". See geometric primitives for more information.
double IMP::algebra::Cone3D::get_angle | ( | ) | const |
Plane3D IMP::algebra::Cone3D::get_base_plane | ( | ) | const |
The cone is on the positive side of the plane.
Vector3D IMP::algebra::Cone3D::get_direction | ( | ) | const |