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

Public Member Functions

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

Public Attributes

Coords min
 
Coords max
 

Detailed Description

Definition at line 49 of file Types.cpp.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 54 of file Types.cpp.

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

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

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 51 of file Types.cpp.

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

Definition at line 50 of file Types.cpp.


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