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

Method calculateBounds

pdal/PointView.cpp:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void PointView::calculateBounds(BOX2D& output) const
128{
129 for (PointId idx = 0; idx < size(); idx++)
130 {
131 double x = getFieldAs<double>(Dimension::Id::X, idx);
132 double y = getFieldAs<double>(Dimension::Id::Y, idx);
133
134 output.grow(x, y);
135 }
136}
137
138
139void PointView::calculateBounds(BOX3D& output) const

Callers 15

writeMethod · 0.80
buildHdrFromPointsFunction · 0.80
writeViewMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
runMethod · 0.80
doneMethod · 0.80
filterMethod · 0.80
reverseMortonMethod · 0.80
mortonMethod · 0.80

Calls 2

sizeFunction · 0.70
growMethod · 0.45

Tested by 5

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64