#include <opennurbs_ipoint.h>
Public Member Functions | |
ON_2iVector ()=default | |
ON_2iVector (const ON_2iVector &)=default | |
ON_2iVector (int x, int y) | |
~ON_2iVector ()=default | |
bool | IsNotZero () const |
bool | IsSet () const |
bool | IsZero () const |
ON_2iVector & | operator*= (int) |
ON_2iVector & | operator+= (const class ON_2iVector &) |
ON_2iVector | operator- () const |
ON_2iVector & | operator-= (const class ON_2iVector &) |
ON_2iVector & | operator= (const ON_2iVector &)=default |
Static Public Member Functions | |
static int | Compare (const ON_2iVector &lhs, const ON_2iVector &rhs) |
Dictionary order compare. More... | |
static const ON_2iVector | From2dex (const class ON_2dex &src) |
static const ON_2iVector | FromPoint (const class ON_2iPoint &p) |
Public Attributes | |
ON__INT32 | x |
ON__INT32 | y |
Static Public Attributes | |
static const ON_2iVector | UnitX |
static const ON_2iVector | UnitY |
static const ON_2iVector | Unset |
static const ON_2iVector | Zero |
|
default |
|
default |
|
default |
ON_2iVector::ON_2iVector | ( | int | x, |
int | y | ||
) |
|
static |
Dictionary order compare.
|
static |
|
static |
bool ON_2iVector::IsNotZero | ( | ) | const |
bool ON_2iVector::IsSet | ( | ) | const |
bool ON_2iVector::IsZero | ( | ) | const |
ON_2iVector& ON_2iVector::operator*= | ( | int | ) |
ON_2iVector& ON_2iVector::operator+= | ( | const class ON_2iVector & | ) |
ON_2iVector ON_2iVector::operator- | ( | ) | const |
ON_2iVector& ON_2iVector::operator-= | ( | const class ON_2iVector & | ) |
|
default |
|
static |
|
static |
|
static |
ON__INT32 ON_2iVector::x |
ON__INT32 ON_2iVector::y |
|
static |