#include <b2i64tuple.hxx>
Public Member Functions | |
| B2I64Tuple () | |
| Create a 2D Tuple. | |
| B2I64Tuple (sal_Int64 fX, sal_Int64 fY) | |
| Create a 2D Tuple. | |
| B2I64Tuple (const B2I64Tuple &rTup) | |
| Create a copy of a 2D Tuple. | |
| ~B2I64Tuple () | |
| sal_Int64 | getX () const |
| Get X-Coordinate of 2D Tuple. | |
| sal_Int64 | getY () const |
| Get Y-Coordinate of 2D Tuple. | |
| void | setX (sal_Int64 fX) |
| Set X-Coordinate of 2D Tuple. | |
| void | setY (sal_Int64 fY) |
| Set Y-Coordinate of 2D Tuple. | |
| const sal_Int64 & | operator[] (int nPos) const |
| Array-access to 2D Tuple. | |
| sal_Int64 & | operator[] (int nPos) |
| Array-access to 2D Tuple. | |
| B2I64Tuple & | operator+= (const B2I64Tuple &rTup) |
| B2I64Tuple & | operator-= (const B2I64Tuple &rTup) |
| B2I64Tuple & | operator/= (const B2I64Tuple &rTup) |
| B2I64Tuple & | operator*= (const B2I64Tuple &rTup) |
| B2I64Tuple & | operator*= (sal_Int64 t) |
| B2I64Tuple & | operator/= (sal_Int64 t) |
| B2I64Tuple | operator- (void) const |
| bool | equalZero () const |
| bool | operator== (const B2I64Tuple &rTup) const |
| bool | operator!= (const B2I64Tuple &rTup) const |
| B2I64Tuple & | operator= (const B2I64Tuple &rTup) |
Static Public Member Functions | |
| static const B2I64Tuple & | getEmptyTuple () |
Protected Attributes | |
| sal_Int64 | mnX |
| sal_Int64 | mnY |
This class provides all methods common to Point avd Vector classes which are derived from here.
Definition at line 45 of file b2i64tuple.hxx.
| basegfx::B2I64Tuple::B2I64Tuple | ( | ) | [inline] |
Create a 2D Tuple.
The tuple is initialized to (0, 0)
Definition at line 56 of file b2i64tuple.hxx.
Referenced by operator-().
| basegfx::B2I64Tuple::B2I64Tuple | ( | sal_Int64 | fX, | |
| sal_Int64 | fY | |||
| ) | [inline] |
Create a 2D Tuple.
| fX | This parameter is used to initialize the X-coordinate of the 2D Tuple. | |
| fY | This parameter is used to initialize the Y-coordinate of the 2D Tuple. |
Definition at line 71 of file b2i64tuple.hxx.
| basegfx::B2I64Tuple::B2I64Tuple | ( | const B2I64Tuple & | rTup | ) | [inline] |
Create a copy of a 2D Tuple.
| rTup | The 2D Tuple which will be copied. |
Definition at line 81 of file b2i64tuple.hxx.
| basegfx::B2I64Tuple::~B2I64Tuple | ( | ) | [inline] |
Definition at line 86 of file b2i64tuple.hxx.
| sal_Int64 basegfx::B2I64Tuple::getX | ( | ) | const [inline] |
Get X-Coordinate of 2D Tuple.
Definition at line 90 of file b2i64tuple.hxx.
References mnX.
Referenced by basegfx::absolute(), basegfx::average(), basegfx::interpolate(), basegfx::maximum(), and basegfx::minimum().
| sal_Int64 basegfx::B2I64Tuple::getY | ( | ) | const [inline] |
Get Y-Coordinate of 2D Tuple.
Definition at line 96 of file b2i64tuple.hxx.
References mnY.
Referenced by basegfx::absolute(), basegfx::average(), basegfx::interpolate(), basegfx::maximum(), and basegfx::minimum().
| void basegfx::B2I64Tuple::setX | ( | sal_Int64 | fX | ) | [inline] |
| void basegfx::B2I64Tuple::setY | ( | sal_Int64 | fY | ) | [inline] |
| const sal_Int64& basegfx::B2I64Tuple::operator[] | ( | int | nPos | ) | const [inline] |
| sal_Int64& basegfx::B2I64Tuple::operator[] | ( | int | nPos | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator+= | ( | const B2I64Tuple & | rTup | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator-= | ( | const B2I64Tuple & | rTup | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator/= | ( | const B2I64Tuple & | rTup | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator*= | ( | const B2I64Tuple & | rTup | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator*= | ( | sal_Int64 | t | ) | [inline] |
| B2I64Tuple& basegfx::B2I64Tuple::operator/= | ( | sal_Int64 | t | ) | [inline] |
| B2I64Tuple basegfx::B2I64Tuple::operator- | ( | void | ) | const [inline] |
| bool basegfx::B2I64Tuple::equalZero | ( | ) | const [inline] |
| bool basegfx::B2I64Tuple::operator== | ( | const B2I64Tuple & | rTup | ) | const [inline] |
| bool basegfx::B2I64Tuple::operator!= | ( | const B2I64Tuple & | rTup | ) | const [inline] |
Definition at line 188 of file b2i64tuple.hxx.
| B2I64Tuple& basegfx::B2I64Tuple::operator= | ( | const B2I64Tuple & | rTup | ) | [inline] |
| const B2I64Tuple & basegfx::B2I64Tuple::getEmptyTuple | ( | ) | [static] |
Definition at line 37 of file b2i64tuple.cxx.
sal_Int64 basegfx::B2I64Tuple::mnX [protected] |
Definition at line 48 of file b2i64tuple.hxx.
Referenced by equalZero(), getX(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), operator=(), operator==(), operator[](), and setX().
sal_Int64 basegfx::B2I64Tuple::mnY [protected] |
Definition at line 49 of file b2i64tuple.hxx.
Referenced by equalZero(), getY(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), operator=(), operator==(), and setY().
1.5.6