Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Point3D Class Reference

`#include <mPoint.h>`

## Public Member Functions
| Point3D ()
| Point3D (const Point3D &)
| Point3D (const F64 _x, const F64 _y, const F64 _z)
void | set (const F64 _x, const F64 _y, const F64 _z)
void | setMin (const Point3D &)
void | setMax (const Point3D &)
void | interpolate (const Point3D &, const Point3D &, const F64)
| operator F64 * ()
| operator F64 * () const
bool | isZero () const
F64 | len () const
F64 | lenSquared () const
void | neg ()
void | normalize ()
void | normalize (F64 val)
void | convolve (const Point3D &)
void | convolveInverse (const Point3D &)
bool | operator== (const Point3D &) const
bool | operator!= (const Point3D &) const
Point3D | operator+ (const Point3D &) const
Point3D | operator- (const Point3D &) const
Point3D & | operator+= (const Point3D &)
Point3D & | operator-= (const Point3D &)
Point3D | operator* (const F64) const
Point3D | operator/ (const F64) const
Point3D & | operator*= (const F64)
Point3D & | operator/= (const F64)
Point3D | operator- () const

## Public Attributes
F64 | x
F64 | y
F64 | z

## Static Public Attributes
static const Point3D | One
static const Point3D | Zero

## Constructor & Destructor Documentation

Point3D | ( |  | ) |
| inline

Point3D | ( | const Point3D & | _copy | ) |
| inline

Point3D | ( | const F64 | _x,
|  | const F64 | _y,
|  | const F64 | _z
| ) |  |
| inline

## Member Function Documentation

void convolve | ( | const Point3D & | c | ) |
| inline

void convolveInverse | ( | const Point3D & | c | ) |
| inline

void interpolate | ( | const Point3D & | _from,
|  | const Point3D & | _to,
|  | const F64 | _factor
| ) |  |
| inline

bool isZero | ( |  | ) | const
| inline

F64 len | ( |  | ) | const
| inline

F64 lenSquared | ( |  | ) | const
| inline

void neg | ( |  | ) |
| inline

void normalize | ( |  | ) |
| inline

void normalize | ( | F64 | val | ) |
| inline

operator F64 * | ( |  | ) |
| inline

operator F64 * | ( |  | ) | const
| inline

bool operator!= | ( | const Point3D & | _test | ) | const
| inline

Point3D operator* | ( | const F64 | _mul | ) | const
| inline

Point3D & operator*= | ( | const F64 | _mul | ) |
| inline

Point3D operator+ | ( | const Point3D & | _add | ) | const
| inline

Point3D & operator+= | ( | const Point3D & | _add | ) |
| inline

Point3D operator- | ( | const Point3D & | _rSub | ) | const
| inline

Point3D operator- | ( |  | ) | const
| inline

Point3D & operator-= | ( | const Point3D & | _rSub | ) |
| inline

Point3D operator/ | ( | const F64 | _div | ) | const
| inline

Point3D & operator/= | ( | const F64 | _div | ) |
| inline

bool operator== | ( | const Point3D & | _test | ) | const
| inline

void set | ( | const F64 | _x,
|  | const F64 | _y,
|  | const F64 | _z
| ) |  |
| inline

void setMax | ( | const Point3D & | _test | ) |
| inline

void setMin | ( | const Point3D & | _test | ) |
| inline

## Member Data Documentation

const Point3D One
| static

F64 x

F64 y

F64 z

const Point3D Zero
| static

The documentation for this class was generated from the following files:

- math/mPoint.h
- math/mPoint.cpp