Back to class index
| Polyhedron::ContainsConvexSyntaxbool Polyhedron::ContainsConvex(const float4 &point, float epsilon=1e-4f) const; [9 lines of code]bool Polyhedron::ContainsConvex(const LineSegment &lineSegment) const; [4 lines of code] bool Polyhedron::ContainsConvex(const Triangle &triangle) const; [4 lines of code] Tests if the given object is fully contained inside this This function behaves exactly like Contains(), except this version of the containment test assumes this polyhedron is convex, and uses a faster method of testing containment. Note This function assumes that this polyhedron is closed and its edges are not self-intersecting. See AlsoWork in progress:Todo: in bool Polyhedron::ContainsConvex(const float4 &point, float epsilon=1e-4f) const: Add ContainsConvex(Polygon/AABB/OBB/Frustum/Polyhedron/Circle/Disc/Sphere/Capsule). |