Back to class index
| Line::DistanceSyntaxfloat Line::Distance(const float4 &point) const; [1 line of code]float Line::Distance(const float4 &point, float &d) const; [4 lines of code] float Line::Distance(const Ray &other) const; [1 lines of code] float Line::Distance(const Ray &other, float &d) const; [1 lines of code] float Line::Distance(const Ray &other, float &d, float &d2) const; [5 lines of code] float Line::Distance(const Line &other) const; [1 lines of code] float Line::Distance(const Line &other, float &d) const; [1 lines of code] float Line::Distance(const Line &other, float &d, float &d2) const; [5 lines of code] float Line::Distance(const LineSegment &other) const; [1 lines of code] float Line::Distance(const LineSegment &other, float &d) const; [1 lines of code] float Line::Distance(const LineSegment &other, float &d, float &d2) const; [7 lines of code] float Line::Distance(const Sphere &other) const; [4 lines of code] float Line::Distance(const Capsule &other) const; [4 lines of code] Computes the distance between this line and the given object. This function finds the nearest pair of points on this and the given object, and computes their distance. If the two objects intersect, or one object is contained inside the other, the returned distance is zero. See Also |