#include <geometry_primitives.h>

Public Member Functions | |
| double | area () const | 
| double | bot () const | 
| Point2D | center () const | 
| bool | contains (const Point2D &p) const | 
| bool | contains (double x, double y) const | 
| auto | corners () const | 
| double | hside_len () const | 
| auto | intersect (const LightWeightRectangle &that) const | 
| bool | is_line () const | 
| bool | is_point () const | 
| bool | is_square () const | 
| double | left () const | 
| LightWeightRectangle () | |
| LightWeightRectangle (double b, double t, double l, double r) | |
| LightWeightRectangle (const Point2D &p) | |
| LVRect | move_center (const Point2D &new_center) const | 
| bool | operator== (const LightWeightRectangle &rhs) const | 
| auto | overlap (const LightWeightRectangle &that) const | 
| double | right () const | 
| auto | shrink (double factor) const | 
| double | side () const | 
| auto | split4_evenly () const | 
| auto | split_horz () const | 
| auto | split_vert () const | 
| double | top () const | 
| double | vside_len () const | 
Private Types | |
| using | LVRect = LightWeightRectangle | 
Private Member Functions | |
| LightWeightRectangle | intersect_internal (const LightWeightRectangle &that, bool reversed=false) const | 
Private Attributes | |
| double | _bot | 
| double | _left | 
| double | _right | 
| double | _top | 
Definition at line 165 of file geometry_primitives.h.
      
  | 
  private | 
Definition at line 167 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 169 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 170 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 175 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 187 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 178 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 188 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 246 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 248 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 200 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 184 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 252 of file geometry_primitives.h.
      
  | 
  inlineprivate | 
Definition at line 270 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 192 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 193 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 185 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 180 of file geometry_primitives.h.
Definition at line 205 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 195 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 256 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 181 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 211 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 186 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 236 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 228 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 220 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 179 of file geometry_primitives.h.
      
  | 
  inline | 
Definition at line 183 of file geometry_primitives.h.
      
  | 
  private | 
Definition at line 313 of file geometry_primitives.h.
      
  | 
  private | 
Definition at line 313 of file geometry_primitives.h.
      
  | 
  private | 
Definition at line 313 of file geometry_primitives.h.
      
  | 
  private | 
Definition at line 313 of file geometry_primitives.h.