Overloaded template function to compare different data types. It checks whether arguments aren't equal.
You can find more information in comments below.
template<class TYPE>
constexpr bool IsNotEqual(const TYPE a, const TYPE b); // Check whether arguments aren't equal
template<class TYPE>
constexpr bool IsNotEqual(const TYPE a, const TYPE b, const TYPE tolerance = Tolerance<TYPE>); // Check whether arguments aren't equal. For float values. Uses absolute comparison
template<lt;class TYPE, size_t CHANNELS = 4>>
bool IsNotEqual(const TBitmap<lt;TYPE, CHANNELS>gt; &a, const TBitmap<<TYPE, CHANNELS>gt; &b); // Compare if bitmaps aren't equal
template<<class TYPE, size_t CHANNELS = 4>>
bool IsNotEqual(const TBitmap<<TYPE, CHANNELS>gt; &a, const TBitmap<lt;TYPE, CHANNELS>gt; &b, const TYPE tolerance = Tolerance<lt;TYPE>gt;); // Compare if bitmaps aren't equal(for float data types)
template<class TYPE>
bool IsNotEqual(const TComplex<TYPE> &a, const TComplex<TYPE> &b); // Compare whether complex values aren't equal
template<class TYPE>
bool IsNotEqual(const TComplex<TYPE> &a, const TComplex<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether complex values aren't equal. For float data types
template<class TYPE>
bool IsNotEqual(const TMat2<TYPE> &a, const TMat2<TYPE> &b); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TMat2<TYPE> &a, const TMat2<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TMat3<TYPE> &a, const TMat3<TYPE> &b); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TMat3<TYPE> &a, const TMat3<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TMat4<TYPE> &a, const TMat4<TYPE> &b); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TMat4<TYPE> &a, const TMat4<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether matrices aren't equal
template<class TYPE, size_t ROWS, size_t COLUMNS>
bool IsNotEqual(const TMatrix<TYPE, ROWS, COLUMNS> &a, const TMatrix<TYPE, ROWS, COLUMNS> &b); // Compare whether matrices aren't equal
template<class TYPE, size_t ROWS, size_t COLUMNS>
bool IsNotEqual(const TMatrix<TYPE, ROWS, COLUMNS> &a, const TMatrix<TYPE, ROWS, COLUMNS> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether matrices aren't equal
template<class TYPE>
bool IsNotEqual(const TPoint<TYPE> &a, const TPoint<TYPE> &b); // Compare whether points aren't equal
template<class TYPE>
bool IsNotEqual(const TPoint<TYPE> &a, const TPoint<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether points aren't equal
template<class TYPE>
bool IsNotEqual(const TRect<TYPE> &a, const TRect<TYPE> &b) // Compare whether rects aren't equal
template<class TYPE>
bool IsNotEqual(const TRect<TYPE> &a, const TRect<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether rects aren't equal
template<class TYPE>
bool IsNotEqual(const TVec1<TYPE> &a, const TVec1<TYPE> &b); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec1<TYPE> &a, const TVec1<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec2<TYPE> &a, const TVec2<TYPE> &b); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec2<TYPE> &a, const TVec2<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec3<TYPE> &a, const TVec3<TYPE> &b); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec3<TYPE> &a, const TVec3<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec4<TYPE> &a, const TVec4<TYPE> &b); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TVec4<TYPE> &a, const TVec4<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether vectors aren't equal
template<class TYPE>
bool IsNotEqual(const TQuaternion<TYPE> &a, const TQuaternion<TYPE> &b); // Compare whether quaternions aren't equal
template<class TYPE>
bool IsNotEqual(const TQuaternion<TYPE> &a, const TQuaternion<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether quaternions aren't equal
template<class TYPE, size_t CHANNELS = 4>
bool IsNotEqual(const TPixel<TYPE, CHANNELS> &a, const TPixel<TYPE, CHANNELS> &b); // Compare whether pixels aren't equal
template<class TYPE, size_t CHANNELS = 4>
bool IsNotEqual(const TPixel<TYPE, CHANNELS> &a, const TPixel<TYPE, CHANNELS> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether pixels aren't equal
template<class TYPE>
bool IsNotEqual(const TPlane<TYPE> &a, const TPlane<TYPE> &b); // Compare whether planes aren't equal
template<class TYPE>
bool IsNotEqual(const TPlane<TYPE> &a, const TPlane<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether planes aren't equal
template<class TYPE>
bool IsNotEqual(const TRange<TYPE> &a, const TRange<TYPE> &b); // Compare whether ranges aren't equal
template<class TYPE>
bool IsNotEqual(const TRange<TYPE> &a, const TRange<TYPE> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether ranges aren't equal
template<class TYPE, size_t SIZE, size_t ...Dimensions>
bool IsNotEqual(const TTensor<TYPE, SIZE, Dimensions...> &a, const TTensor<TYPE, SIZE, Dimensions...> &b); // Compare whether tensors aren't equal
template<class TYPE, size_t SIZE, size_t ...Dimensions>
bool IsNotEqual(const TTensor<TYPE, SIZE, Dimensions...> &a, const TTensor<TYPE, SIZE, Dimensions...> &b, const TYPE tolerance = Tolerance<TYPE>); // Compare whether tensors aren't equal
Namespace: | ntl |
Include: |
NTL/Core/Utils.h (For non-object arguments) NTL/Core/Bitmap.h (For TBitmap arguments) NTL/Core/Complex.h (For TComplex arguments) NTL/Core/Mat2.h (For TMat2 arguments) NTL/Core/Mat3.h (For TMat3 arguments) NTL/Core/Mat4.h (For TMat4 arguments) NTL/Core/Matrix.h (For TMatrix arguments) NTL/Core/Point.h (For TPoint arguments) NTL/Core/Rect.h (For TRect arguments) NTL/Core/Vec1.h (For TVec1 arguments) NTL/Core/Vec2.h (For TVec2 arguments) NTL/Core/Vec3.h (For TVec3 arguments) NTL/Core/Vec4.h (For TVec4 arguments) NTL/Core/Quaternion.h (For TQuaternion arguments) NTL/Core/Pixel.h (For TPixel arguments) NTL/Core/Plane.h (For TPlane arguments) NTL/Core/Range.h (For TRange arguments) NTL/Core/Tensor.h (For TTensor arguments) |