Classes | Functions | Variables

point4.h File Reference

This reference page is linked to from the following overview topics: Parameter Types.


#include "GeomExport.h"
#include "maxheap.h"
#include "point3.h"
#include "assert1.h"

Go to the source code of this file.

Classes

class   Point4

Functions

GEOMEXPORT float  Length (const Point4 &)
GEOMEXPORT float  FLength (const Point4 &)
GEOMEXPORT float  LengthSquared (const Point4 &)
GEOMEXPORT int  MaxComponent (const Point4 &)
GEOMEXPORT int  MinComponent (const Point4 &)
GEOMEXPORT Point4  Normalize (const Point4 &)
GEOMEXPORT Point4  FNormalize (const Point4 &)
GEOMEXPORT Point4  CrossProd (const Point4 &a, const Point4 &b, const Point4 &c)
Point4  operator* (float f, const Point4 &a)
Point4  operator* (const Point4 &a, float f)
Point4  operator/ (const Point4 &a, float f)
Point4  operator+ (const Point4 &a, float f)
float  DotProd (const Point4 &a, const Point4 &b)

Variables

class GEOMEXPORT  Point4

Function Documentation

float Length ( const Point4 v ) [inline]

Definition at line 220 of file point4.h.

                                     { 
   return v.Length();
}
float FLength ( const Point4 v ) [inline]

Definition at line 224 of file point4.h.

                                      {   
   return v.FLength();
}
float LengthSquared ( const Point4 v ) [inline]

Definition at line 228 of file point4.h.

                                            {   
   return v.LengthSquared();
}
GEOMEXPORT int MaxComponent ( const Point4 )
GEOMEXPORT int MinComponent ( const Point4 )
GEOMEXPORT Point4 Normalize ( const Point4 )
GEOMEXPORT Point4 FNormalize ( const Point4 )
GEOMEXPORT Point4 CrossProd ( const Point4 a,
const Point4 b,
const Point4 c 
)
Point4 operator* ( float  f,
const Point4 a 
) [inline]
Remarks:
Returns a Point4 that is the specified Point4 multiplied by the specified float.

Definition at line 290 of file point4.h.

                                                  {
   return(Point4(a.x*f, a.y*f, a.z*f, a.w*f));
   }
Point4 operator* ( const Point4 a,
float  f 
) [inline]
Remarks:
Returns a Point4 that is the specified Point4 multiplied by the specified float.

Definition at line 296 of file point4.h.

                                                  {
   return(Point4(a.x*f, a.y*f, a.z*f, a.w*f));
   }
Point4 operator/ ( const Point4 a,
float  f 
) [inline]
Remarks:
Returns a Point4 that is the specified Point4 divided by the specified float.

Definition at line 302 of file point4.h.

                                                  {
   assert( f != 0.0f );
   return(Point4(a.x/f, a.y/f, a.z/f, a.w/f));
   }
Point4 operator+ ( const Point4 a,
float  f 
) [inline]
Remarks:
Returns a Point4 that is the specified Point4 with the specified floating point valued added to each component x, y, z and w.

Definition at line 309 of file point4.h.

                                                  {
   return(Point4(a.x+f, a.y+f, a.z+f, a.w+f));
   }
float DotProd ( const Point4 a,
const Point4 b 
) [inline]

Definition at line 322 of file point4.h.

                                                       { 
   return(a.x*b.x+a.y*b.y+a.z*b.z+a.w*b.w);  
}

Variable Documentation

class GEOMEXPORT Point4

Definition at line 21 of file point4.h.