13LT_BEGIN_LIZARDTECH_NAMESPACE
74 return x == other.
x &&
y == other.
y;
87 return (
x < other.
x ? other.
x -
x :
x - other.
x) <= eps &&
88 (
y < other.
y ? other.
y -
y :
y - other.
y) <= eps;
177template<
class T,
bool inclusive = true>
231 return (
lRight.x -
uLeft.x) + (T)(inclusive ? 1 : 0);
240 return (
lRight.y -
uLeft.y) + (T)(inclusive ? 1 : 0);
278 switch (referencePoint)
286 ref.
x =
static_cast<T
>(
lRight.x);
297 ref.
x =
static_cast<T
>(
lRight.x);
302 ref.
y =
static_cast<T
>(
lRight.y);
305 ref.
y =
static_cast<T
>(
lRight.y);
401template<
class T,
bool inclusive>
410template<
class T,
bool inclusive>
419template<
class T,
bool inclusive>
428template<
class T,
bool inclusive>
556LT_END_LIZARDTECH_NAMESPACE
LTIGeomPoint< lt_int32 > IntPoint
LTIGeomRect< double, false > LTIGeomDblRect
LTIGeomRect< lt_int32, true > IntRect
LTIGeomPoint< T > operator-(const LTIGeomPoint< T > &p1, const LTIGeomPoint< T > &p2)
LTIGeomPoint< lt_int32 > MG3Point
LTIGeomDim< lt_int32 > MG3Dim
LTIGeomPoint< T > operator+(const LTIGeomPoint< T > &p1, const LTIGeomPoint< T > &p2)
LTIGeomPoint< lt_int32 > LTIGeomIntPoint
LTIGeomDim< double > LTIGeomDblDim
LTIGeomDim< lt_int32 > IntDimension
LTIGeomRect< T, inclusive > operator&(const LTIGeomRect< T, inclusive > &r1, const LTIGeomRect< T, inclusive > &r2)
LTIGeomRect< T, inclusive > operator|(const LTIGeomRect< T, inclusive > &r1, const LTIGeomRect< T, inclusive > &r2)
LTIGeomRect< lt_int32, true > LTIGeomIntRect
LTIGeomRect< lt_int32, true > MG3Rect
LTIGeomPoint< double > LTIGeomDblPoint
LTIGeomDim< lt_int32 > LTIGeomIntDim
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK.
LTIPosition
well-known points
@ LTI_POSITION_LOWER_CENTER
@ LTI_POSITION_LOWER_LEFT
@ LTI_POSITION_UPPER_CENTER
@ LTI_POSITION_CENTER_RIGHT
@ LTI_POSITION_CENTER_LEFT
@ LTI_POSITION_UPPER_RIGHT
@ LTI_POSITION_UPPER_LEFT
@ LTI_POSITION_LOWER_RIGHT
#define LT_MIN(A, B)
return lesser of two parameters
#define LT_MAX(A, B)
return greater of two parameters
LTIGeomPoint(T inX=0, T inY=0)
LTIGeomPoint< T > & operator+=(const LTIGeomPoint< T2 > &offset)
LTIGeomPoint< T > & operator-=(const LTIGeomPoint< T2 > &offset)
bool operator!=(const LTIGeomPoint< T > &other) const
bool operator==(const LTIGeomPoint< T > &other) const
LTIGeomPoint< T > & operator=(const LTIGeomPoint< T > ©)
bool equal(const LTIGeomPoint< T > &other, T eps) const
LTIGeomPoint(const LTIGeomPoint< T > ©)
bool operator!=(const LTIGeomDim< T > &other) const
bool operator==(const LTIGeomDim< T > &other) const
LTIGeomDim(const LTIGeomDim< T > &other)
LTIGeomDim< T > & operator=(const LTIGeomDim< T > &other)
bool operator==(const LTIGeomRect< T, inclusive > &other) const
bool operator!=(const LTIGeomRect< T, inclusive > &other) const
LTIGeomRect< T, inclusive > & operator+=(const LTIGeomPoint< T2 > &offset)
LTIGeomRect< T, inclusive > & operator&=(const LTIGeomRect< T, inclusive > &other)
LTIGeomPoint< T > location(LTIPosition referencePoint)
LTIGeomRect< T, inclusive > & operator=(const LTIGeomRect< T, inclusive > ©)
LTIGeomRect< T, inclusive > & operator|=(const LTIGeomRect< T, inclusive > &other)
LTIGeomRect(T ulx=0, T uly=1, T lrx=-1, T lry=0)
LTIGeomRect(const LTIGeomPoint< T > &inUL, const LTIGeomPoint< T > &inLR)
LTIGeomRect(const LTIGeomRect< T, inclusive > ©)
LTIGeomPoint< T > getCenter() const
bool intersect(const LTIGeomRect< T, inclusive > &other)
LTIGeomDim< T > getDimensions() const
LTIGeomRect< T, inclusive > & operator-=(const LTIGeomPoint< T2 > &offset)
LTIGeomRect(const LTIGeomDim< T > d)
bool overlap(const LTIGeomBBox< T > &other) const
LTIGeomPoint< T > getCenter() const
bool operator!=(const LTIGeomBBox< T > &other) const
LTIGeomBBox(const LTIGeomBBox< T > ©)
bool containsPoint(const LTIGeomPoint< T > &pt) const
LTIGeomBBox< T > & operator&=(const LTIGeomBBox< T > &other)
LTIGeomBBox< T > & operator|=(const LTIGeomBBox< T > &other)
LTIGeomBBox< T > & operator=(const LTIGeomBBox< T > ©)
LTIGeomBBox(T minX=0, T minY=0, T maxX=0, T maxY=0)
bool operator==(const LTIGeomBBox< T > &other) const