Back to class index
| Line::ContainsSyntaxbool Line::Contains(const float4 &point, float distanceThreshold=1e-3f) const; [4 lines of code]bool Line::Contains(const Ray &ray, float distanceThreshold=1e-3f) const; [4 lines of code] bool Line::Contains(const LineSegment &lineSegment, float distanceThreshold=1e-3f) const; [4 lines of code] Tests if the given object is fully contained on this line. ParametersfloatdistanceThresholdThe magnitude of the epsilon test threshold to use. Since a Line is a 1D object in a 3D space, an epsilon threshold is used to allow errors caused by floating-point inaccuracies. Return ValueTrue if this line contains the given object, up to the given distance threshold. See Also |