Back to class index
| AABB::ContainsSyntaxbool AABB::Contains(const float4 &point) const; [31 lines of code]bool AABB::Contains(const LineSegment &lineSegment) const; [4 lines of code] bool AABB::Contains(const float4 &aabbMinPoint, const float4 &aabbMaxPoint) const; [13 lines of code] bool AABB::Contains(const AABB &aabb) const; [1 lines of code] bool AABB::Contains(const OBB &obb) const; [4 lines of code] bool AABB::Contains(const Sphere &sphere) const; [4 lines of code] bool AABB::Contains(const Triangle &triangle) const; [4 lines of code] bool AABB::Contains(const Polygon &polygon) const; [4 lines of code] bool AABB::Contains(const Frustum &frustum) const; [4 lines of code] bool AABB::Contains(const Polyhedron &polyhedron) const; [4 lines of code] bool AABB::Contains(const Capsule &capsule) const; [4 lines of code] Tests if the given object is fully contained inside this AABB. This function returns true if the given object lies inside this AABB, and false otherwise. Note The comparison is performed using less-or-equal, so the faces of this AABB count as being inside, but due to float inaccuracies, this cannot generally be relied upon. See AlsoWork in progress:Todo: in bool AABB::Contains(const float4 &point) const: Add Contains(Circle/Disc/Sphere/Capsule). |