OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 47 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 52 of file Types.cpp.

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

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

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 49 of file Types.cpp.

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

Definition at line 48 of file Types.cpp.


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