Back to class index
| Polyhedron::ContainsSyntaxbool Polyhedron::Contains(const float4 &point) const; [75 lines of code]bool Polyhedron::Contains(const LineSegment &lineSegment) const; [4 lines of code] bool Polyhedron::Contains(const Triangle &triangle) const; [4 lines of code] bool Polyhedron::Contains(const Polygon &polygon) const; [7 lines of code] bool Polyhedron::Contains(const AABB &aabb) const; [8 lines of code] bool Polyhedron::Contains(const OBB &obb) const; [8 lines of code] bool Polyhedron::Contains(const Frustum &frustum) const; [8 lines of code] bool Polyhedron::Contains(const Polyhedron &polyhedron) const; [9 lines of code] Tests if the given object is fully contained inside this closed polyhedron. This function treats this polyhedron as a non-convex object. If you know this polyhedron to be convex, you can use the faster ContainsConvex() function. Note This function assumes that this polyhedron is closed and its edges are not self-intersecting. See AlsoWork in progress:Todo: in bool Polyhedron::Contains(const float4 &point) const: Add Contains(Circle/Disc/Sphere/Capsule). |