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

Method BBox

pdal/QuadIndex.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 struct BBox
48 {
49 BBox(Point minimum, Point maximum)
50 : minimum(minimum)
51 , maximum(maximum)
52 , center(minimum.x + (maximum.x - minimum.x) / 2,
53 minimum.y + (maximum.y - minimum.y) / 2)
54 , halfWidth(center.x - minimum.x)
55 , halfHeight(center.y - minimum.y)
56 { }
57
58 BBox(const BBox& other)
59 : minimum(other.minimum)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected