Enlarges this AABB to the smallest AABB enclosing both itself and another point
(&mut self, point: &SVector<R, D>)
| 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>) { |
| 252 | self.min = self.min.inf(point); |
| 253 | self.max = self.max.sup(point); |
| 254 | } |
| 255 | |
| 256 | /// Grows this AABB uniformly in all directions by the given scalar margin (i.e. adding the margin to min/max extents) |
| 257 | pub fn grow_uniformly(&mut self, margin: R) { |
no outgoing calls
no test coverage detected