Public Member Functions | |
const VectorD< 3 > & | get_normal () const |
Plane3D | get_opposite () const |
Return the plane with the opposite normal. | |
VectorD< 3 > | get_point_on_plane () const |
VectorD< 3 > | get_projection (const VectorD< 3 > &p) const |
Project the point onto the plane. | |
Plane3D (double distance_to_plane, const VectorD< 3 > &normal_to_plane) | |
Plane3D (const VectorD< 3 > &point_on_plane, const VectorD< 3 > &normal_to_plane) | |
Orientation | |
Up is the direction of the normal. | |
bool | get_is_above (const VectorD< 3 > &p) const |
bool | get_is_below (const VectorD< 3 > &p) const |
Related Functions | |
(Note that these are not member functions.) | |
double | get_distance (const Plane3D &pln, const VectorD< 3 > &p) |
Return the distance between a plane and a point in 3D. |
bool IMP::algebra::Plane3D::get_is_above | ( | const VectorD< 3 > & | p | ) | const |
bool IMP::algebra::Plane3D::get_is_below | ( | const VectorD< 3 > & | p | ) | const |
Return the distance between a plane and a point in 3D.