Back to class index
| Polyhedron::IntersectsConvexSyntaxbool Polyhedron::IntersectsConvex(const Line &line) const; [6 lines of code]bool Polyhedron::IntersectsConvex(const Ray &ray) const; [6 lines of code] bool Polyhedron::IntersectsConvex(const LineSegment &lineSegment) const; [6 lines of code] Tests whether this This function is exactly like Intersects(), but this version assumes that this polyhedron is convex, and uses a faster method of testing the intersection. Note This function assumes that this polyhedron is closed and the edges are not self-intersecting. Return ValueTrue if an intersection occurs or one of the objects is contained inside the other, false otherwise. See AlsoWork in progress:Todo: in bool Polyhedron::IntersectsConvex(const Line &line) const: Add Intersects(Circle/Disc). |