MCPcopy Create free account
hub / github.com/colmap/colmap / BlockBbox

Method BlockBbox

src/colmap/mvs/advancing_front_meshing.cc:547–554  ·  view source on GitHub ↗

Compute the axis-aligned bounding box for a block, including overlap.

Source from the content-addressed store, hash-verified

545
546 // Compute the axis-aligned bounding box for a block, including overlap.
547 CGAL::Bbox_3 BlockBbox(int bx, int by, int bz) const {
548 return CGAL::Bbox_3(min.x() + bx * block_size - overlap,
549 min.y() + by * block_size - overlap,
550 min.z() + bz * block_size - overlap,
551 min.x() + (bx + 1) * block_size + overlap,
552 min.y() + (by + 1) * block_size + overlap,
553 min.z() + (bz + 1) * block_size + overlap);
554 }
555};
556
557BlockGrid ComputeBlockGrid(const std::vector<colmap::PlyPoint>& points,

Callers 1

AssignRaysToBlocksFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected