LibreOffice Module basegfx (master) 1
|
#include <Tuple3D.hxx>
Public Member Functions | |
Tuple3D (TYPE x, TYPE y, TYPE z) | |
Create a 3D Tuple. More... | |
TYPE | getX () const |
Get X-Coordinate of 3D Tuple. More... | |
TYPE | getY () const |
Get Y-Coordinate of 3D Tuple. More... | |
TYPE | getZ () const |
Get Z-Coordinate of 3D Tuple. More... | |
void | setX (TYPE fX) |
Set X-Coordinate of 3D Tuple. More... | |
void | setY (TYPE fY) |
Set Y-Coordinate of 3D Tuple. More... | |
void | setZ (TYPE fZ) |
Set Z-Coordinate of 3D Tuple. More... | |
Tuple3D & | operator+= (const Tuple3D &rTup) |
Tuple3D & | operator-= (const Tuple3D &rTup) |
Tuple3D & | operator/= (const Tuple3D &rTup) |
Tuple3D & | operator*= (const Tuple3D &rTup) |
Tuple3D & | operator*= (TYPE t) |
Tuple3D & | operator/= (TYPE t) |
bool | operator== (const Tuple3D &rTup) const |
bool | operator!= (const Tuple3D &rTup) const |
Protected Attributes | |
union { | |
struct { | |
TYPE mnX | |
TYPE mnY | |
TYPE mnZ | |
} | |
struct { | |
TYPE mfX | |
TYPE mfY | |
TYPE mfZ | |
} | |
}; | |
Definition at line 15 of file Tuple3D.hxx.
|
inline |
Create a 3D Tuple.
@param x This parameter is used to initialize the X-coordinate of the 3D Tuple. @param y This parameter is used to initialize the Y-coordinate of the 3D Tuple. @param z This parameter is used to initialize the Z-coordinate of the 3D Tuple.
Definition at line 49 of file Tuple3D.hxx.
|
inline |
Get X-Coordinate of 3D Tuple.
Definition at line 57 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnX, and TYPE.
Referenced by basegfx::InterpolatorProvider3D::addNormalInterpolator(), basegfx::utils::applyDefaultTextureCoordinatesParallel(), basegfx::utils::applyDefaultTextureCoordinatesSphere(), basegfx::areParallel(), basegfx::average(), basegfx::utils::B3DPolyPolygonToUnoPolyPolygonShape3D(), basegfx::B3DRange::clamp(), basegfx::utils::createB2DPolygonFromB3DPolygon(), basegfx::cross(), basegfx::B3DHomMatrix::decompose(), basegfx::B3DRange::expand(), basegfx::fround(), basegfx::interpolate(), basegfx::utils::isInside(), basegfx::utils::isPointOnLine(), basegfx::B3DHomMatrix::orientation(), basegfx::B3DHomMatrix::rotate(), basegfx::B3DHomMatrix::scale(), basegfx::utils::snapPointsOfHorizontalOrVerticalEdges(), and basegfx::B3DHomMatrix::translate().
|
inline |
Get Y-Coordinate of 3D Tuple.
Definition at line 60 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnY, and TYPE.
Referenced by basegfx::InterpolatorProvider3D::addNormalInterpolator(), basegfx::utils::applyDefaultTextureCoordinatesParallel(), basegfx::utils::applyDefaultTextureCoordinatesSphere(), basegfx::areParallel(), basegfx::average(), basegfx::utils::B3DPolyPolygonToUnoPolyPolygonShape3D(), basegfx::B3DRange::clamp(), basegfx::utils::createB2DPolygonFromB3DPolygon(), basegfx::cross(), basegfx::B3DHomMatrix::decompose(), basegfx::B3DRange::expand(), basegfx::fround(), basegfx::interpolate(), basegfx::utils::isInside(), basegfx::utils::isPointOnLine(), basegfx::B3DHomMatrix::orientation(), basegfx::B3DHomMatrix::rotate(), basegfx::B3DHomMatrix::scale(), basegfx::utils::snapPointsOfHorizontalOrVerticalEdges(), and basegfx::B3DHomMatrix::translate().
|
inline |
Get Z-Coordinate of 3D Tuple.
Definition at line 63 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnZ, and TYPE.
Referenced by basegfx::InterpolatorProvider3D::addNormalInterpolator(), basegfx::utils::applyDefaultTextureCoordinatesSphere(), basegfx::areParallel(), basegfx::average(), basegfx::utils::B3DPolyPolygonToUnoPolyPolygonShape3D(), basegfx::B3DRange::clamp(), basegfx::cross(), basegfx::B3DHomMatrix::decompose(), basegfx::B3DRange::expand(), basegfx::fround(), basegfx::interpolate(), basegfx::utils::isInside(), basegfx::utils::isPointOnLine(), basegfx::B3DHomMatrix::orientation(), basegfx::B3DHomMatrix::rotate(), basegfx::B3DHomMatrix::scale(), basegfx::utils::snapPointsOfHorizontalOrVerticalEdges(), and basegfx::B3DHomMatrix::translate().
|
inline |
Definition at line 129 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::operator==().
|
inline |
Definition at line 100 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, and basegfx::Tuple3D< TYPE >::mfZ.
|
inline |
Definition at line 108 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, basegfx::Tuple3D< TYPE >::mfZ, and t.
|
inline |
Definition at line 76 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, and basegfx::Tuple3D< TYPE >::mfZ.
|
inline |
Definition at line 84 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, and basegfx::Tuple3D< TYPE >::mfZ.
|
inline |
Definition at line 92 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, and basegfx::Tuple3D< TYPE >::mfZ.
|
inline |
Definition at line 116 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, basegfx::Tuple3D< TYPE >::mfZ, and t.
|
inline |
Definition at line 124 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mfX, basegfx::Tuple3D< TYPE >::mfY, and basegfx::Tuple3D< TYPE >::mfZ.
Referenced by basegfx::Tuple3D< TYPE >::operator!=().
|
inline |
Set X-Coordinate of 3D Tuple.
Definition at line 66 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnX.
Referenced by basegfx::B3DHomMatrix::decompose().
|
inline |
Set Y-Coordinate of 3D Tuple.
Definition at line 69 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnY.
Referenced by basegfx::B3DHomMatrix::decompose().
|
inline |
Set Z-Coordinate of 3D Tuple.
Definition at line 72 of file Tuple3D.hxx.
References basegfx::Tuple3D< TYPE >::mnZ.
Referenced by basegfx::B3DHomMatrix::decompose().
union { ... } basegfx::Tuple3D< TYPE >::@11 |
TYPE basegfx::Tuple3D< TYPE >::mfX |
Definition at line 28 of file Tuple3D.hxx.
Referenced by basegfx::B3DTuple::equal(), basegfx::B3DPoint::operator*=(), basegfx::B3DVector::operator*=(), basegfx::BColor::operator*=(), basegfx::Tuple3D< TYPE >::operator*=(), basegfx::Tuple3D< TYPE >::operator+=(), basegfx::Tuple3D< TYPE >::operator-=(), basegfx::Tuple3D< TYPE >::operator/=(), basegfx::B3DTuple::operator==(), basegfx::Tuple3D< TYPE >::operator==(), and basegfx::B3DVector::scalar().
TYPE basegfx::Tuple3D< TYPE >::mfY |
Definition at line 29 of file Tuple3D.hxx.
Referenced by basegfx::B3DTuple::equal(), basegfx::B3DPoint::operator*=(), basegfx::B3DVector::operator*=(), basegfx::BColor::operator*=(), basegfx::Tuple3D< TYPE >::operator*=(), basegfx::Tuple3D< TYPE >::operator+=(), basegfx::Tuple3D< TYPE >::operator-=(), basegfx::Tuple3D< TYPE >::operator/=(), basegfx::B3DTuple::operator==(), basegfx::Tuple3D< TYPE >::operator==(), and basegfx::B3DVector::scalar().
TYPE basegfx::Tuple3D< TYPE >::mfZ |
Definition at line 30 of file Tuple3D.hxx.
Referenced by basegfx::B3DTuple::equal(), basegfx::B3DPoint::operator*=(), basegfx::B3DVector::operator*=(), basegfx::BColor::operator*=(), basegfx::Tuple3D< TYPE >::operator*=(), basegfx::Tuple3D< TYPE >::operator+=(), basegfx::Tuple3D< TYPE >::operator-=(), basegfx::Tuple3D< TYPE >::operator/=(), basegfx::B3DTuple::operator==(), basegfx::Tuple3D< TYPE >::operator==(), and basegfx::B3DVector::scalar().
TYPE basegfx::Tuple3D< TYPE >::mnX |
Definition at line 22 of file Tuple3D.hxx.
Referenced by basegfx::Tuple3D< TYPE >::getX(), and basegfx::Tuple3D< TYPE >::setX().
TYPE basegfx::Tuple3D< TYPE >::mnY |
Definition at line 23 of file Tuple3D.hxx.
Referenced by basegfx::Tuple3D< TYPE >::getY(), and basegfx::Tuple3D< TYPE >::setY().
TYPE basegfx::Tuple3D< TYPE >::mnZ |
Definition at line 24 of file Tuple3D.hxx.
Referenced by basegfx::Tuple3D< TYPE >::getZ(), and basegfx::Tuple3D< TYPE >::setZ().