Check whether arguments are equal using relative tolerance.
bool Equals(const PointD &a, const PointD &b, const double relative_tolerance = ntl::RelativeTolerance<double>);
bool Equals(const PointF &a, const PointF &b, const double relative_tolerance = ntl::RelativeTolerance<float>);
bool Equals(const RectD &a, const RectD &b, const double relative_tolerance = ntl::RelativeTolerance<double>);
bool Equals(const RectF &a, const RectF &b, const double relative_tolerance = ntl::RelativeTolerance<float>);
bool Equals(const Block &a, const Block &b, const float relative_tolerance = ntl::RelativeTolerance<float>);
bool Equals(const CubicBezierSpline &a, const CubicBezierSpline &b, const float relative_tolerance = ntl::RelativeTolerance<float>);
bool Equals(const CubicBezierSplineLimits &a, const CubicBezierSplineLimits &b, const float relative_tolerance = ntl::RelativeTolerance<float>);
bool Equals(const Transform &a, const Transform &b, const float relative_tolerance = ntl::RelativeTolerance<float>);
Namespace: | nitisa |
Include: |
Nitisa/Math/PointD.h (For PointD arguments) Nitisa/Math/PointF.h (For PointF arguments) Nitisa/Math/RectD.h (For RectD arguments) Nitisa/Math/RectF.h (For RectF arguments) Nitisa/Math/Block.h (For Block arguments) Nitisa/Math/CubicBezierSpline.h (For CubicBezierSpline arguments) Nitisa/Math/CubicBezierSplineLimits.h (For CubicBezierSplineLimits arguments) Nitisa/Math/Transform.h (For Transform arguments) |