|  | 
|  | Vertex () | 
|  | 
|  | Vertex (float _x, float _y, float _z) | 
|  | 
|  | Vertex (float _x, float _y, float _z, unsigned char _r, unsigned char _g, unsigned char _b, unsigned char _a) | 
|  | 
|  | Vertex (float _x, float _y, float _z, glsColor &_color) | 
|  | 
|  | Vertex (Vertex &_v) | 
|  | 
| bool | operator== (Vector &arg) | 
|  | 
| bool | operator!= (Vector &arg) | 
|  | 
|  | typemap (out) Vertex | 
|  | 
| Vertex | operator- (Vector &arg) const | 
|  | 
| Vertex & | operator-= (Vector &arg) | 
|  | 
| Vertex | operator+ (Vector &arg) const | 
|  | 
| Vertex & | operator+= (Vector &arg) | 
|  | 
| Vertex | operator* (float s) const | 
|  | 
| Vertex & | operator*= (float s) | 
|  | 
| Vertex | operator/ (float s) const | 
|  | 
| Vertex & | operator/= (float s) | 
|  | 
| Vertex | Rotate (float angle) | 
|  | 
| Vertex | Rotate (Vector &orig, float angle) | 
|  | 
| Vertex | Rotate (Vector &orig, float angle, Vector &r) | 
|  | 
|  | typemap (out) Vertex | 
|  | 
|  | Vector () | 
|  | 
|  | Vector (float _x, float _y, float _z) | 
|  | 
|  | Vector (Vector &w) | 
|  | 
|  | ~Vector () | 
|  | 
| bool | operator!= (Vector &arg) | 
|  | 
| Vector | operator- (Vector &arg) | 
|  | 
| Vector | operator-= (Vector &arg) | 
|  | 
| Vector | operator+ (Vector &arg) | 
|  | 
| Vector | operator+= (Vector &arg) | 
|  | 
| Vector | operator* (float s) | 
|  | 
| Vector & | operator*= (float s) | 
|  | 
| Vector | operator/ (float s) | 
|  | 
| Vector & | operator/= (float s) | 
|  | 
| float | Distance3 (Vector &v) | 
|  | 
| float | Distance3Squared (Vector &v) | 
|  | 
| float | DistanceFromLineSquared (float startx, float starty, float startz, Vector &direction) | 
|  | 
| float | Distance2Squared (Vector &v) | 
|  | 
| float | Distance2 (Vector &v) | 
|  | 
| Vector | Rotate (float angle) | 
|  | 
| Vector | Rotate (Vector &orig, float angle) | 
|  | 
| Vector | Rotate (Vector &orig, float angle, Vector &r) | 
|  | 
| void | Normalize (void) | 
|  | 
| float | Magnitude () | 
|  | 
| float | MagnitudeSquared () | 
|  | 
| Vector | CrossProduct (Vector &w) | 
|  | 
| float | DotProduct (Vector &w) | 
|  | 
| float | AngleToVector (Vector &arg) | 
|  | 
| bool | PointInTriangle (Vector &a, Vector &b, Vector &c) | 
|  | 
| bool | CloseTo (Vector &arg, float tolerance=0.0001f) | 
|  | 
| float | DistanceFromLine (Vector &start, Vector &direction) | 
|  | 
| Vector | ProjectPointToLine (Vector &origin, Vector &direction) | 
|  | 
Default constructor. 
Ensures all values are initialized 
 
 
      
        
          | Vertex::Vertex | ( | float | _x, | 
        
          |  |  | float | _y, | 
        
          |  |  | float | _z | 
        
          |  | ) |  |  | 
      
 
Position only constructor. 
Color values are set to defaults 
- Parameters
- 
  
    | _x | The X value of the vertex, in logical units |  | _y | The Y value of the vertex, in logical units |  | _z | The Z value of the vertex, in logical units |  
 
 
 
      
        
          | Vertex::Vertex | ( | float | _x, | 
        
          |  |  | float | _y, | 
        
          |  |  | float | _z, | 
        
          |  |  | unsigned char | _r, | 
        
          |  |  | unsigned char | _g, | 
        
          |  |  | unsigned char | _b, | 
        
          |  |  | unsigned char | _a | 
        
          |  | ) |  |  | 
      
 
Position and color constructor. 
- Parameters
- 
  
    | _x | The X value of the vertex, in logical units |  | _y | The Y value of the vertex, in logical units |  | _z | The Z value of the vertex, in logical units |  | _r | The R value of the color of the vertex 0-255 |  | _g | The G value of the color of the vertex 0-255 |  | _b | The B value of the color of the vertex 0-255 |  | _a | The A value of the color of the vertex 0-255 |  
 
 
 
      
        
          | Vertex::Vertex | ( | float | _x, | 
        
          |  |  | float | _y, | 
        
          |  |  | float | _z, | 
        
          |  |  | glsColor & | _color | 
        
          |  | ) |  |  | 
      
 
Position and color constructor. 
- Parameters
- 
  
    | _x | The X value of the vertex, in logical units |  | _y | The Y value of the vertex, in logical units |  | _z | The Z value of the vertex, in logical units |  | _color | The value of the color of the vertex |  
 
 
 
Copy constructor. 
- Parameters
- 
  
  
 
 
      
        
          | bool Vertex::operator!= | ( | Vector & | arg | ) |  | 
      
 
 
      
        
          | Vertex Vertex::operator* | ( | float | s | ) | const | 
      
 
 
      
        
          | Vertex& Vertex::operator*= | ( | float | s | ) |  | 
      
 
 
      
        
          | Vertex Vertex::operator/ | ( | float | s | ) | const | 
      
 
 
      
        
          | Vertex& Vertex::operator/= | ( | float | s | ) |  | 
      
 
 
      
        
          | bool Vertex::operator== | ( | Vector & | arg | ) |  | 
      
 
 
      
        
          | Vertex Vertex::Rotate | ( | float | angle | ) |  | 
      
 
- See also
- Vector::Rotate( float ) const; 
 
 
- See also
- Vector::Rotate( Vector&, float ) const; 
 
 
- See also
- Vector::Rotate( Vector&, float, Vector& ) const; 
 
 
The documentation for this class was generated from the following file: