MCPcopy Create free account
hub / github.com/PDAL/PDAL / contains

Method contains

pdal/QuadIndex.cpp:90–94  ·  view source on GitHub ↗

Returns true if the requested point is contained within this BBox.

Source from the content-addressed store, hash-verified

88
89 // Returns true if the requested point is contained within this BBox.
90 bool contains(const Point& p) const
91 {
92 return p.x >= minimum.x && p.y >= minimum.y &&
93 p.x < maximum.x && p.y < maximum.y;
94 }
95
96 const Point minimum;
97 const Point maximum;

Callers 1

getPointsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected