Back to class index
| Plane::ContainsSyntaxbool Plane::Contains(const float4 &point, float epsilon=1e-3f) const; [4 lines of code]bool Plane::Contains(const Line &line, float epsilon=1e-3f) const; [4 lines of code] bool Plane::Contains(const Ray &ray, float epsilon=1e-3f) const; [4 lines of code] bool Plane::Contains(const LineSegment &lineSegment, float epsilon=1e-3f) const; [4 lines of code] bool Plane::Contains(const Triangle &triangle, float epsilon=1e-3f) const; [4 lines of code] bool Plane::Contains(const Circle &circle, float epsilon=1e-3f) const; [4 lines of code] bool Plane::Contains(const Polygon &polygon, float epsilon=1e-3f) const; [11 lines of code] Tests if this plane contains the given object. ParametersfloatepsilonSince a plane is a 2D object in a 3D space, an distance threshold is used for the test. This value gives a "thickness" to this plane for the purposes of the test. Return ValueTrue if the given object is contained in this plane, up to the given epsilon distance. |