MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / max_extent

Method max_extent

splashsurf_lib/src/aabb.rs:203–207  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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> {

Callers 1

enclosing_cubeMethod · 0.80

Calls 1

extentsMethod · 0.80

Tested by

no test coverage detected