#include <FTPoint.h>
Definition at line 42 of file FTPoint.h.
Public Member Functions | |
| FTPoint () | |
| Default constructor. | |
| FTPoint (const FTGL_DOUBLE x, const FTGL_DOUBLE y, const FTGL_DOUBLE z=0) | |
| Constructor. | |
| FTPoint (const FT_Vector &ft_vector) | |
| Constructor. | |
| FTPoint | Normalise () |
| Normalise a point's coordinates. | |
| FTPoint & | operator+= (const FTPoint &point) |
| Operator += In Place Addition. | |
| FTPoint | operator+ (const FTPoint &point) const |
| Operator +. | |
| FTPoint & | operator-= (const FTPoint &point) |
| Operator -= In Place Substraction. | |
| FTPoint | operator- (const FTPoint &point) const |
| Operator -. | |
| FTPoint | operator * (double multiplier) const |
| Operator * Scalar multiplication. | |
| FTPoint | operator^ (const FTPoint &point) |
| Operator ^ Vector product. | |
| operator const FTGL_DOUBLE * () const | |
| Cast to FTGL_DOUBLE*. | |
| void | X (FTGL_DOUBLE x) |
| Setters. | |
| void | Y (FTGL_DOUBLE y) |
| void | Z (FTGL_DOUBLE z) |
| FTGL_DOUBLE | X () const |
| Getters. | |
| FTGL_DOUBLE | Y () const |
| FTGL_DOUBLE | Z () const |
| FTGL_FLOAT | Xf () const |
| FTGL_FLOAT | Yf () const |
| FTGL_FLOAT | Zf () const |
Friends | |
| FTPoint | operator * (double multiplier, FTPoint &point) |
| Operator * Scalar multiplication. | |
| double | operator * (FTPoint &a, FTPoint &b) |
| Operator * Scalar product. | |
| bool | operator== (const FTPoint &a, const FTPoint &b) |
| Operator == Tests for equality. | |
| bool | operator!= (const FTPoint &a, const FTPoint &b) |
| Operator != Tests for non equality. | |
|
|
Default constructor. Point is set to zero. |
|
||||||||||||||||
|
Constructor. Z coordinate is set to zero if unspecified.
|
|
|
Constructor. This converts an FT_Vector to an FTPoint
|
|
|
Normalise a point's coordinates. If the coordinates are zero, the point is left untouched.
|
|
|
Operator * Scalar multiplication.
Definition at line 159 of file FTPoint.h. References values. |
|
|
Cast to FTGL_DOUBLE*.
|
|
|
Operator +.
Definition at line 112 of file FTPoint.h. References values. |
|
|
Operator += In Place Addition.
Definition at line 97 of file FTPoint.h. References values. |
|
|
Operator -.
Definition at line 143 of file FTPoint.h. References values. |
|
|
Operator -= In Place Substraction.
Definition at line 128 of file FTPoint.h. References values. |
|
|
Operator ^ Vector product.
Definition at line 204 of file FTPoint.h. References values. |
|
|
Getters.
|
|
|
Setters.
Definition at line 249 of file FTPoint.h. Referenced by FTBBox::operator|=(). |
|
|
Definition at line 260 of file FTPoint.h. Referenced by FTFont::BBox(). |
|
|
|
|
|
Definition at line 250 of file FTPoint.h. Referenced by FTBBox::operator|=(). |
|
|
Definition at line 261 of file FTPoint.h. Referenced by FTFont::BBox(). |
|
|
|
|
|
Definition at line 251 of file FTPoint.h. Referenced by FTBBox::operator|=(). |
|
|
Definition at line 262 of file FTPoint.h. Referenced by FTFont::BBox(). |
|
||||||||||||
|
Operator * Scalar product.
|
|
||||||||||||
|
Operator * Scalar multiplication.
|
|
||||||||||||
|
Operator != Tests for non equality.
|
|
||||||||||||
|
Operator == Tests for equality.
|
1.4.6