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. | |
bool | get_contains (const VectorD< 3 > &v) const |
VectorD< 3 > | get_direction () const |
Get the direction of the axis of the cone. | |
double | get_height () const |
double | get_radius () const |
get the radius of the base circle | |
VectorD< 3 > | get_tip () const |
Get the vertex of the cone. | |
void | show (std::ostream &out) const |
Related Functions | |
(Note that these are not member functions.) | |
Vector Generators | |
These functions generate vector objects. Some of the methods, those with random in their name, generate a single vector chosen uniformly from the specified domain. Others, the cover methods, generate a set of points distributed (somewhat) evenly over the domain. | |
std::vector< VectorD< 3 > > | get_uniform_surface_cover (const Cone3D &cone, unsigned int number_of_points) |
double IMP::algebra::Cone3D::get_angle | ( | ) | const |
The opening angle of a cone is the vertex angle made by a cross section through the apex and center of the base.
Plane3D IMP::algebra::Cone3D::get_base_plane | ( | ) | const |
Get the plane supporting the base of the cone.
The cone is on the positive side of the plane.
VectorD<3> IMP::algebra::Cone3D::get_direction | ( | ) | const |
Get the direction of the axis of the cone.
This vector points from the tip into the occupied volume.