Checks if the given point is inside the AABB, the AABB is considered to be half-open to its max coordinate
(&self, point: &SVector<R, D>)
| 218 | |
| 219 | /// Checks if the given point is inside the AABB, the AABB is considered to be half-open to its max coordinate |
| 220 | pub fn contains_point(&self, point: &SVector<R, D>) -> bool { |
| 221 | point >= &self.min && point < &self.max |
| 222 | } |
| 223 | |
| 224 | /// Translates the AABB by the given vector |
| 225 | pub fn translate(&mut self, vector: &SVector<R, D>) { |
no outgoing calls
no test coverage detected