MCPcopy Index your code
hub / github.com/InteractiveComputerGraphics/splashsurf / join

Method join

splashsurf_lib/src/aabb.rs:245–248  ·  view source on GitHub ↗

Enlarges this AABB to the smallest AABB enclosing both itself and another AABB

(&mut self, other: &Self)

Source from the content-addressed store, hash-verified

243
244 /// Enlarges this AABB to the smallest AABB enclosing both itself and another AABB
245 pub fn join(&mut self, other: &Self) {
246 self.min = self.min.inf(&other.min);
247 self.max = self.max.sup(&other.max);
248 }
249
250 /// Enlarges this AABB to the smallest AABB enclosing both itself and another point
251 pub fn join_with_point(&mut self, point: &SVector<R, D>) {

Callers 7

par_from_pointsMethod · 0.80
check_mesh_consistencyFunction · 0.80
add_future_importsFunction · 0.80
try_newMethod · 0.80
collectMethod · 0.80
props_to_cli_stringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected