|
Public Member Functions |
| | vifa_bbox (void) |
| | vifa_bbox (vifa_bbox const &b) |
| void | touch () |
| unsigned long | get_time_stamp () const |
| bool | older (vul_timestamp const &t) const |
| bool | older (vul_timestamp const *t) const |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
| | vgl_box_2d () |
| | vgl_box_2d (doubleconst min_position[2], doubleconst max_position[2]) |
| | vgl_box_2d (vgl_point_2d< double > const &min_pos, vgl_point_2d< double > const &max_pos) |
| | vgl_box_2d (doublexmin, doublexmax, doubleymin, doubleymax) |
| | vgl_box_2d (doubleconst ref_point[2], doublewidth, doubleheight, point_type) |
| | vgl_box_2d (vgl_point_2d< double > const &ref_point, doublewidth, doubleheight, point_type) |
| bool | operator== (vgl_box_2d< double > const &b) const |
| double | width () const |
| double | height () const |
| double | area () const |
| double | volume () const |
| double | min_x () const |
| double | min_y () const |
| double | max_x () const |
| double | max_y () const |
| vgl_point_2d< double > | centroid () const |
| double | centroid_x () const |
| double | centroid_y () const |
| vgl_point_2d< double > | min_point () const |
| vgl_point_2d< double > | max_point () const |
| bool | is_empty () const |
| void | add (vgl_point_2d< double > const &p) |
| void | add (vgl_box_2d< double > const &b) |
| bool | contains (vgl_point_2d< double > const &p) const |
| bool | contains (vgl_box_2d< double > const &b) const |
| bool | contains (doubleconst &x, doubleconst &y) const |
| void | empty () |
| void | set_min_x (doublem) |
| void | set_min_y (doublem) |
| void | set_max_x (doublem) |
| void | set_max_y (doublem) |
| void | set_centroid_x (doublecx) |
| void | set_centroid_y (doublecy) |
| void | set_width (doublewidth) |
| void | set_height (doubleheight) |
| void | expand_about_centroid (doubleexpand) |
| void | scale_about_centroid (double s) |
| void | scale_about_origin (double s) |
| void | setmin_position (doubleconst min_position[2]) |
| void | setmax_position (doubleconst max_position[2]) |
| void | set_min_point (vgl_point_2d< double > const &min_pt) |
| void | set_max_point (vgl_point_2d< double > const &max_pt) |
| void | set_centroid (doubleconst c[2]) |
| void | set_centroid (vgl_point_2d< double > const &c) |
| vcl_ostream & | print (vcl_ostream &) const |
| vcl_ostream & | write (vcl_ostream &) const |
| vcl_istream & | read (vcl_istream &) |
| vcl_ostream & | operator<< (vcl_ostream &s, vgl_box_2d< double > const &p) |
| vcl_istream & | operator>> (vcl_istream &is, vgl_box_2d< double > &p) |
| vgl_box_2d< double > | vgl_intersection (vgl_box_2d< double > const &a, vgl_box_2d< double > const &b) |
| vgl_line_segment_2d< T > | vgl_clip_line_to_box (vgl_line_2d< T > const &l, vgl_box_2d< T > const &b) |
Public Attributes |
| | centre |
| | min_pos |
| | max_pos |
Protected Attributes |
| unsigned long | timestamp_ |
| double | min_pos_ [2] |
| double | max_pos_ [2] |