ipoint3.h File Reference
 
 
 
ipoint3.h File Reference
#include "GeomExport.h"
#include "strbasic.h"
#include "maxheap.h"
#include <iosfwd>
#include <math.h>

Classes

class   IPoint3

Functions

int  MaxComponent (const IPoint3 &)
int  MinComponent (const IPoint3 &)
M_STD_OSTREAM &  operator<< (M_STD_OSTREAM &, const IPoint3 &)
float  Length (const IPoint3 &v)

Function Documentation

int MaxComponent ( const IPoint3 )
Remarks:
Returns the component with the maximum absolute value. 0=x, 1=y, 2=z.
int MinComponent ( const IPoint3 )
Remarks:
Returns the component with the minimum absolute value. 0=x, 1=y, 2=z.
M_STD_OSTREAM& operator<< ( M_STD_OSTREAM &  ,
const IPoint3  
)
float Length ( const IPoint3 v ) [inline]
Remarks:
Returns the 'Length' of the point. This is sqrt(v.x*v.x+v.y*v.y+v.z*v.z)
                                      { 
        return (float)sqrt((double)(v.x*v.x+v.y*v.y+v.z*v.z));
        }