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