|
void | kjb::scale (kjb::Axis_aligned_rectangle_2d &box, const kjb::Vector &s) |
|
void | kjb::get_projected_bbox_from_3Dpoints (Axis_aligned_rectangle_2d &bb, const std::vector< Vector > &points, const Base_gl_interface &camera, double img_width, double img_height) |
| Projects a set of 3D points onto the image plane, and finds a bounding box (aligned with the image axes), such that it contains all the projected points. More...
|
|
std::ostream & | kjb::operator<< (std::ostream &ost, const Axis_aligned_rectangle_2d &box) |
|
std::istream & | kjb::operator>> (std::istream &ist, Axis_aligned_rectangle_2d &box) |
|
Bounding_Box2D | kjb::intersect (const Bounding_Box2D &b1, const Bounding_Box2D &b2) |
|
double | kjb::get_rectangle_intersection (const kjb::Bounding_Box2D &b1, const kjb::Bounding_Box2D &b2) |
| Compute area of intersection of two rectangles. More...
|
|