3ds Max C++ API 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

◆ MaxComponent()

int MaxComponent ( const IPoint3 )
Remarks
Returns the component with the maximum absolute value. 0=x, 1=y, 2=z.

◆ MinComponent()

int MinComponent ( const IPoint3 )
Remarks
Returns the component with the minimum absolute value. 0=x, 1=y, 2=z.

◆ operator<<()

M_STD_OSTREAM& operator<< ( M_STD_OSTREAM ,
const IPoint3  
)

◆ Length()

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)
150 {
151  return (float)sqrt((double)(v.x * v.x + v.y * v.y + v.z * v.z));
152 }
int y
Definition: ipoint3.h:35
int z
Definition: ipoint3.h:36
int x
Definition: ipoint3.h:34