Back to class index
| LineSegment::EqualsSyntaxbool LineSegment::Equals(const LineSegment &rhs, float distanceThreshold=1e-3f) const; [4 lines of code]Tests if this line segment represents the same set of points than the given line segment. ParametersfloatdistanceThresholdSpecifies how much distance threshold to allow in the comparison. Return ValueTrue if a == rhs.a && b == rhs.b, or, a == rhs.b && b = rhs.a, within the given epsilon. |