69 const double& operator[] (
int nPos)
const
78 double& operator[] (
int nPos)
91 return (
this == &getEmptyTuple() ||
101 (::basegfx::fTools::equal(
mfX, rTup.
mfX) &&
102 ::basegfx::fTools::equal(
mfY, rTup.
mfY) &&
103 ::basegfx::fTools::equal(mfZ, rTup.
mfZ)));
115 return ::basegfx::fTools::equal(
mfX, rTup.
mfX) &&
116 ::basegfx::fTools::equal(
mfY, rTup.
mfY) &&
117 ::basegfx::fTools::equal(mfZ, rTup.
mfZ);
124 if(0.0 == fCompareValue)
143 if(::basegfx::fTools::equal(
mfX, fCompareValue))
148 if(::basegfx::fTools::equal(
mfY, fCompareValue))
153 if(::basegfx::fTools::equal(mfZ, fCompareValue))
160 static const B3DTuple& getEmptyTuple();
192 rtl_math_approxEqual(rOld1.
getX(), rOld2.
getX()) ? rOld1.
getX() : (rOld1.
getX() + rOld2.
getX()) * 0.5,
193 rtl_math_approxEqual(rOld1.
getY(), rOld2.
getY()) ? rOld1.
getY() : (rOld1.
getY() + rOld2.
getY()) * 0.5,
194 rtl_math_approxEqual(rOld1.
getZ(), rOld2.
getZ()) ? rOld1.
getZ() : (rOld1.
getZ() + rOld2.
getZ()) * 0.5);
#define BASEGFX_DLLPUBLIC
Base class for all Points/Vectors with three double values.
bool operator!=(const B3DTuple &rTup) const
void correctValues(const double fCompareValue=0.0)
B3DTuple()
Create a 3D Tuple.
B3DTuple(double fX, double fY, double fZ)
Create a 3D Tuple.
bool equal(const B3DTuple &rTup) const
B3DTuple operator-(void) const
bool operator==(const B3DTuple &rTup) const
TYPE getX() const
Get X-Coordinate of 3D Tuple.
TYPE getZ() const
Get Z-Coordinate of 3D Tuple.
TYPE getY() const
Get Y-Coordinate of 3D Tuple.
B2DTuple interpolate(const B2DTuple &rOld1, const B2DTuple &rOld2, double t)
B2ITuple operator+(const B2ITuple &rTupA, const B2ITuple &rTupB)
B2DTuple average(const B2DTuple &rOld1, const B2DTuple &rOld2)
B2IRange fround(const B2DRange &rRange)
Round double to nearest integer for 2D range.
B2ITuple operator-(const B2ITuple &rTupA, const B2ITuple &rTupB)
B2DPoint operator*(const ::basegfx::B2DHomMatrix &rMat, const B2DPoint &rPoint)
B2DTuple operator/(const B2DTuple &rTup, double t)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)