ipoint3.h File Reference

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

Classes

class  IPoint3
 

Functions

int MaxComponent (const IPoint3 &)
 
int MinComponent (const IPoint3 &)
 
M_STD_OSTREAMoperator<< (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)
110  {
111  return (float)sqrt((double)(v.x*v.x+v.y*v.y+v.z*v.z));
112  }
int y
Definition: ipoint3.h:33
int x
Definition: ipoint3.h:33
int z
Definition: ipoint3.h:33