3ds Max C++ API Reference
|
#include <ipoint2.h>
Public Member Functions | |
IPoint2 ()=default | |
constexpr | IPoint2 (const IPoint2 &)=default |
constexpr | IPoint2 (IPoint2 &&)=default |
IPoint2 & | operator= (const IPoint2 &)=default |
IPoint2 & | operator= (IPoint2 &&)=default |
constexpr | IPoint2 (int X, int Y) |
constexpr | IPoint2 (int af[2]) |
int & | operator[] (int i) |
const int & | operator[] (int i) const |
constexpr | operator int * () |
constexpr | operator const int * () const |
constexpr IPoint2 | operator- () const |
constexpr IPoint2 | operator+ () const |
constexpr int | LengthSquared () const |
float | Length () const |
int | MaxComponent () const |
int | MinComponent () const |
constexpr IPoint2 & | operator-= (const IPoint2 &a) |
constexpr IPoint2 & | operator+= (const IPoint2 &a) |
constexpr IPoint2 & | operator*= (const IPoint2 &a) |
Member-wise, in-place multiplication of this vector: (x*x, y*y) | |
constexpr IPoint2 & | operator/= (const IPoint2 &a) |
Member-wise, in-place division of this vector: | |
constexpr IPoint2 & | operator*= (int f) |
constexpr IPoint2 & | operator/= (int f) |
constexpr IPoint2 & | operator+= (int f) |
constexpr IPoint2 & | operator-= (int f) |
constexpr IPoint2 | operator- (const IPoint2 &a) const |
constexpr IPoint2 | operator+ (const IPoint2 &a) const |
constexpr IPoint2 | operator* (const IPoint2 &a) const |
Member-wise multiplication of two vectors: (x*x, y*y) | |
constexpr IPoint2 | operator/ (const IPoint2 &a) const |
Member-wise division of two vectors: | |
constexpr int | DotProd (const IPoint2 &a) const |
constexpr int | operator% (const IPoint2 &a) const |
constexpr bool | operator== (const IPoint2 &a) const |
constexpr bool | operator!= (const IPoint2 &a) const |
Public Attributes | |
int | x = 0 |
int | y = 0 |
Static Public Attributes | |
static const IPoint2 | Origin |
static const IPoint2 | XAxis |
static const IPoint2 | YAxis |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
int MaxComponent | ( | ) | const |
int MinComponent | ( | ) | const |
|
inlineconstexpr |
|
inlineconstexpr |
int x = 0 |
int y = 0 |
|
static |
|
static |
|
static |