3ds Max C++ API Reference
|
#include <ipoint3.h>
Public Member Functions | |
IPoint3 ()=default | |
Initializes all vector components to zero. | |
constexpr | IPoint3 (const IPoint3 &)=default |
constexpr | IPoint3 (IPoint3 &&)=default |
IPoint3 & | operator= (const IPoint3 &)=default |
IPoint3 & | operator= (IPoint3 &&)=default |
constexpr | IPoint3 (int X, int Y, int Z) |
constexpr | IPoint3 (const int ai[3]) |
int & | operator[] (int i) |
const int & | operator[] (int i) const |
constexpr | operator int * () |
constexpr | operator const int * () const |
constexpr IPoint3 | operator- () const |
constexpr IPoint3 | operator+ () const |
constexpr int | LengthSquared () const |
float | Length () const |
int | MaxComponent () const |
int | MinComponent () const |
constexpr IPoint3 & | operator-= (const IPoint3 &p) |
constexpr IPoint3 & | operator+= (const IPoint3 &p) |
constexpr IPoint3 & | operator*= (const IPoint3 &p) |
Member-wise, in-place multiplication of this vector. | |
IPoint3 & | operator/= (const IPoint3 &p) |
Member-wise, in-place division of this vector. | |
constexpr IPoint3 & | operator*= (int f) |
IPoint3 & | operator/= (int f) |
constexpr IPoint3 & | operator+= (int f) |
constexpr IPoint3 & | operator-= (int f) |
constexpr IPoint3 | operator- (const IPoint3 &p) const |
constexpr IPoint3 | operator+ (const IPoint3 &p) const |
constexpr IPoint3 | operator* (const IPoint3 &p) const |
Member-wise multiplication of two vectors: (x*x, y*y, z*z) | |
IPoint3 | operator/ (const IPoint3 &p) const |
Member-wise division of two vectors: (x/x, y/y, z/z) | |
constexpr int | DotProd (const IPoint3 &p) const |
constexpr int | operator% (const IPoint3 &p) const |
constexpr IPoint3 | CrossProd (const IPoint3 &p) const |
constexpr IPoint3 | operator^ (const IPoint3 &p) const |
constexpr bool | operator== (const IPoint3 &p) const |
constexpr bool | operator!= (const IPoint3 &p) const |
Public Attributes | |
int | x = 0 |
int | y = 0 |
int | z = 0 |
Static Public Attributes | |
static const IPoint3 | Origin |
static const IPoint3 | XAxis |
static const IPoint3 | YAxis |
static const IPoint3 | ZAxis |
|
default |
Initializes all vector components to zero.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
int MaxComponent | ( | ) | const |
int MinComponent | ( | ) | const |
|
inlineconstexpr |
|
inlineconstexpr |
int x = 0 |
int y = 0 |
int z = 0 |
|
static |
|
static |
|
static |
|
static |