| class TPoint3D |
Stores a three-dimensional point in Cartesian or polar co-ordinates. Its data members (iX, iY and iZ) are public and can be manipulated directly.
| Public Member Functions | |
|---|---|
| TPoint3D(TUninitialized) | |
| TPoint3D() | |
| TPoint3D(TInt, TInt, TInt) | |
| TPoint3D(const TPoint &) | |
| IMPORT_C TPoint | AsPoint() |
| IMPORT_C void | SetPoint(const TPoint &) |
| IMPORT_C void | SetXYZ(TInt, TInt, TInt) |
| IMPORT_C TBool | operator!=(const TPoint3D &) |
| IMPORT_C TPoint3D | operator+(const TPoint3D &) |
| IMPORT_C TPoint3D | operator+(const TPoint &) |
| IMPORT_C TPoint3D & | operator+=(const TPoint3D &) |
| IMPORT_C TPoint3D & | operator+=(const TPoint &) |
| IMPORT_C TPoint3D | operator-(const TPoint3D &) |
| IMPORT_C TPoint3D | operator-(const TPoint &) |
| IMPORT_C TPoint3D | operator-() |
| IMPORT_C TPoint3D & | operator-=(const TPoint3D &) |
| IMPORT_C TPoint3D & | operator-=(const TPoint &) |
| IMPORT_C TBool | operator==(const TPoint3D &) |
| Public Member Enumerations | |
|---|---|
| enum | TUninitialized { EUninitialized } |
| Public Attributes | |
|---|---|
| TInt | iX |
| TInt | iY |
| TInt | iZ |
| TPoint3D | ( | TUninitialized | ) | [inline] |
TUninitialized Constructor
| TUninitialized |
| TPoint3D | ( | ) | [inline] |
Constructs default TPoint3D, initialising its iX , iY and iZ members to zero.
Constructs default 3Dpoint, initialising its iX, iY and iZ members to zero.
| TPoint3D | ( | const TPoint & | aPoint | ) | [inline] |
Copy Construct from TPoint , initialises Z co-ordinate to Zero
| const TPoint & aPoint |
| IMPORT_C void | SetPoint | ( | const TPoint & | aPoint | ) |
| const TPoint & aPoint |
| IMPORT_C void | SetXYZ | ( | TInt | aX, |
| TInt | aY, | |||
| TInt | aZ | |||
| ) | ||||
Set Method to set the xyz co-ordinates of TPoint3D
| IMPORT_C TBool | operator!= | ( | const TPoint3D & | aPoint3D | ) | const |
| const TPoint3D & aPoint3D |
| IMPORT_C TPoint3D | operator+ | ( | const TPoint3D & | aPoint3D | ) | const |
| const TPoint3D & aPoint3D |
| IMPORT_C TPoint3D | operator+ | ( | const TPoint & | aPoint | ) | const |
| const TPoint & aPoint |
| IMPORT_C TPoint3D & | operator+= | ( | const TPoint3D & | aPoint3D | ) |
| const TPoint3D & aPoint3D |
| IMPORT_C TPoint3D & | operator+= | ( | const TPoint & | aPoint | ) |
| const TPoint & aPoint |
| IMPORT_C TPoint3D | operator- | ( | const TPoint3D & | aPoint3D | ) | const |
| const TPoint3D & aPoint3D |
| IMPORT_C TPoint3D | operator- | ( | const TPoint & | aPoint | ) | const |
| const TPoint & aPoint |
| IMPORT_C TPoint3D | operator- | ( | ) | const |
Unary minus operator. The operator returns the negation of this Point3D
| IMPORT_C TPoint3D & | operator-= | ( | const TPoint3D & | aPoint3D | ) |
| const TPoint3D & aPoint3D |
| IMPORT_C TPoint3D & | operator-= | ( | const TPoint & | aPoint | ) |
| const TPoint & aPoint |
| IMPORT_C TBool | operator== | ( | const TPoint3D & | aPoint3D | ) | const |
| const TPoint3D & aPoint3D |