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.
◆ FTPoint() [1/3]
Default constructor. 
Point is set to zero. 
Definition at line 48 of file FTPoint.h.
 
 
◆ FTPoint() [2/3]
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() [3/3]
  
  | 
        
          | 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()
Normalise a point's coordinates. 
If the coordinates are zero, the point is left untouched.
- Returns
- A vector of norm one. 
 
 
◆ operator *()
  
  | 
        
          | FTPoint FTPoint::operator * | ( | double | multiplier | ) | const |  | inline | 
 
Operator * Scalar multiplication. 
- Parameters
- 
  
  
- Returns
- thismultiplied by- multiplier.
Definition at line 159 of file FTPoint.h.
 
 
◆ operator -()
Operator -. 
- Parameters
- 
  
  
- Returns
- this minus point. 
Definition at line 143 of file FTPoint.h.
 
 
◆ operator -=()
Operator -= In Place Substraction. 
- Parameters
- 
  
  
- Returns
- this minus point. 
Definition at line 128 of file FTPoint.h.
 
 
◆ operator ^()
Operator ^ Vector product. 
- Parameters
- 
  
  
- Returns
- this vector point. 
Definition at line 204 of file FTPoint.h.
 
 
◆ operator const FTGL_DOUBLE *()
Cast to FTGL_DOUBLE*. 
Definition at line 240 of file FTPoint.h.
 
 
◆ operator+()
Operator +. 
- Parameters
- 
  
  
- Returns
- this plus point. 
Definition at line 112 of file FTPoint.h.
 
 
◆ operator+=()
Operator += In Place Addition. 
- Parameters
- 
  
  
- Returns
- this plus point. 
Definition at line 97 of file FTPoint.h.
 
 
◆ X() [1/2]
◆ X() [2/2]
◆ Xf()
◆ Y() [1/2]
◆ Y() [2/2]
◆ Yf()
◆ Z() [1/2]
◆ Z() [2/2]
◆ Zf()
◆ operator !=
Operator != Tests for non equality. 
- Parameters
- 
  
  
- Returns
- true if a & b are not equal 
 
 
◆ operator * [1/2]
Operator * Scalar multiplication. 
- Parameters
- 
  
  
- Returns
- multipliermultiplied by- point.
Definition at line 177 of file FTPoint.h.
 
 
◆ operator * [2/2]
Operator * Scalar product. 
- Parameters
- 
  
    | a | First vector. |  | b | Second vector. |  
 
- Returns
- a.bscalar product.
Definition at line 190 of file FTPoint.h.
 
 
◆ operator==
Operator == Tests for equality. 
- Parameters
- 
  
  
- Returns
- true if a & b are equal 
 
 
The documentation for this class was generated from the following file: