(&self)
| 201 | /// ``` |
| 202 | #[inline(always)] |
| 203 | pub fn max_extent(&self) -> R { |
| 204 | let extents = self.extents(); |
| 205 | // Use imax indirectly, because max is broken in nalgebra |
| 206 | extents[extents.imax()] |
| 207 | } |
| 208 | |
| 209 | /// Returns the geometric centroid of the AABB (mean of the corner points) |
| 210 | pub fn centroid(&self) -> SVector<R, D> { |