OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{geo_types.cpp}::BoundingBox Struct Reference
+ Collaboration diagram for anonymous_namespace{geo_types.cpp}::BoundingBox:

Public Member Functions

 BoundingBox ()
 
void update (double x, double y)
 

Public Attributes

Coords min
 
Coords max
 

Detailed Description

Definition at line 46 of file geo_types.cpp.

Constructor & Destructor Documentation

anonymous_namespace{geo_types.cpp}::BoundingBox::BoundingBox ( )
inline

Member Function Documentation

void anonymous_namespace{geo_types.cpp}::BoundingBox::update ( double  x,
double  y 
)
inline

Definition at line 51 of file geo_types.cpp.

Referenced by anonymous_namespace{geo_types.cpp}::process_poly_ring().

51  {
52  if (x < min.x) {
53  min.x = x;
54  }
55  if (y < min.y) {
56  min.y = y;
57  }
58  if (x > max.x) {
59  max.x = x;
60  }
61  if (y > max.y) {
62  max.y = y;
63  }
64  }

+ Here is the caller graph for this function:

Member Data Documentation

Coords anonymous_namespace{geo_types.cpp}::BoundingBox::max

Definition at line 48 of file geo_types.cpp.

Coords anonymous_namespace{geo_types.cpp}::BoundingBox::min

Definition at line 47 of file geo_types.cpp.


The documentation for this struct was generated from the following file: