LibreOffice Module basegfx (master) 1
|
Base class for all Points/Vectors with three sal_Int32 values. More...
#include <b3ituple.hxx>
Public Member Functions | |
B3ITuple () | |
Create a 3D Tuple. More... | |
B3ITuple (sal_Int32 nX, sal_Int32 nY, sal_Int32 nZ) | |
Create a 3D Tuple. More... | |
const sal_Int32 & | operator[] (int nPos) const |
Array-access to 3D Tuple. More... | |
sal_Int32 & | operator[] (int nPos) |
Array-access to 3D Tuple. More... | |
B3ITuple | operator- (void) const |
Public Member Functions inherited from basegfx::Tuple3D< sal_Int32 > | |
Tuple3D (sal_Int32 x, sal_Int32 y, sal_Int32 z) | |
Create a 3D Tuple. More... | |
sal_Int32 | getX () const |
Get X-Coordinate of 3D Tuple. More... | |
sal_Int32 | getY () const |
Get Y-Coordinate of 3D Tuple. More... | |
sal_Int32 | getZ () const |
Get Z-Coordinate of 3D Tuple. More... | |
void | setX (sal_Int32 fX) |
Set X-Coordinate of 3D Tuple. More... | |
void | setY (sal_Int32 fY) |
Set Y-Coordinate of 3D Tuple. More... | |
void | setZ (sal_Int32 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/= (sal_Int32 t) |
Tuple3D & | operator*= (const Tuple3D &rTup) |
Tuple3D & | operator*= (sal_Int32 t) |
bool | operator== (const Tuple3D &rTup) const |
bool | operator!= (const Tuple3D &rTup) const |
Additional Inherited Members | |
Public Attributes inherited from basegfx::Tuple3D< sal_Int32 > | |
sal_Int32 | mnX |
sal_Int32 | mnY |
sal_Int32 | mnZ |
sal_Int32 | mfX |
sal_Int32 | mfY |
sal_Int32 | mfZ |
Protected Attributes inherited from basegfx::Tuple3D< sal_Int32 > | |
union { | |
struct { | |
TYPE mnX | |
TYPE mnY | |
TYPE mnZ | |
} | |
struct { | |
TYPE mfX | |
TYPE mfY | |
TYPE mfZ | |
} | |
}; | |
Base class for all Points/Vectors with three sal_Int32 values.
This class provides all methods common to Point and Vector classes which are derived from here.
Definition at line 36 of file b3ituple.hxx.
|
inline |
Create a 3D Tuple.
The tuple is initialized to (0, 0, 0)
Definition at line 43 of file b3ituple.hxx.
|
inline |
Create a 3D Tuple.
nX | This parameter is used to initialize the X-coordinate of the 3D Tuple. |
nY | This parameter is used to initialize the Y-coordinate of the 3D Tuple. |
nZ | This parameter is used to initialize the Z-coordinate of the 3D Tuple. |
Definition at line 61 of file b3ituple.hxx.
|
inline |
Definition at line 85 of file b3ituple.hxx.
|
inline |
|
inline |