FTPoint class is a basic 3-dimensional point or vector.
More...
#include <FTPoint.h>
FTPoint class is a basic 3-dimensional point or vector.
Definition at line 42 of file FTPoint.h.
Default constructor.
Point is set to zero.
Definition at line 48 of file FTPoint.h.
Constructor.
Z coordinate is set to zero if unspecified.
- Parameters
-
x | First component |
y | Second component |
z | Third component |
Definition at line 62 of file FTPoint.h.
FTPoint::FTPoint |
( |
const FT_Vector & |
ft_vector | ) |
|
|
inline |
Constructor.
This converts an FT_Vector to an FTPoint
- Parameters
-
ft_vector | A freetype vector |
Definition at line 75 of file FTPoint.h.
Normalise a point's coordinates.
If the coordinates are zero, the point is left untouched.
- Returns
- A vector of norm one.
Cast to FTGL_DOUBLE*.
Definition at line 240 of file FTPoint.h.
FTPoint FTPoint::operator* |
( |
double |
multiplier | ) |
const |
|
inline |
Operator * Scalar multiplication.
- Parameters
-
- Returns
this
multiplied by multiplier
.
Definition at line 159 of file FTPoint.h.
Operator +.
- Parameters
-
- Returns
- this plus point.
Definition at line 112 of file FTPoint.h.
Operator += In Place Addition.
- Parameters
-
- Returns
- this plus point.
Definition at line 97 of file FTPoint.h.
Operator -.
- Parameters
-
- Returns
- this minus point.
Definition at line 143 of file FTPoint.h.
Operator -= In Place Substraction.
- Parameters
-
- Returns
- this minus point.
Definition at line 128 of file FTPoint.h.
Operator ^ Vector product.
- Parameters
-
- Returns
- this vector point.
Definition at line 204 of file FTPoint.h.
Operator != Tests for non equality.
- Parameters
-
- Returns
- true if a & b are not equal
Operator * Scalar multiplication.
- Parameters
-
- Returns
multiplier
multiplied by point
.
Definition at line 177 of file FTPoint.h.
Operator * Scalar product.
- Parameters
-
a | First vector. |
b | Second vector. |
- Returns
a.b
scalar product.
Definition at line 190 of file FTPoint.h.
Operator == Tests for equality.
- Parameters
-
- Returns
- true if a & b are equal
The documentation for this class was generated from the following file: