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

Method getBoundingBox

plugins/e57/io/Scan.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92pdal::BOX3D Scan::getBoundingBox() const
93{
94 if (!hasPose())
95 {
96 return m_bbox;
97 }
98
99 auto bmin = transformPoint({m_bbox.minx,m_bbox.miny,m_bbox.minz});
100 auto bmax = transformPoint({m_bbox.maxx,m_bbox.maxy,m_bbox.maxz});
101 return pdal::BOX3D(bmin[0],bmin[1],bmin[2],bmax[0],bmax[1],bmax[2]);
102}
103
104void Scan::decodeHeader()
105{

Callers 2

inspectMethod · 0.45
TESTFunction · 0.45

Calls 1

BOX3DClass · 0.50

Tested by 1

TESTFunction · 0.36