#include <opennurbs_ipoint.h>
Public Member Functions | |
ON_2iPoint ()=default | |
ON_2iPoint (const ON_2iPoint &)=default | |
ON_2iPoint (int x, int y) | |
~ON_2iPoint ()=default | |
bool | IsOrigin () const |
bool | IsSet () const |
ON_2iPoint & | operator+= (const class ON_2iVector &) |
ON_2iPoint & | operator-= (const class ON_2iVector &) |
ON_2iPoint & | operator= (const ON_2iPoint &)=default |
Static Public Member Functions | |
static int | Compare (const ON_2iPoint &lhs, const ON_2iPoint &rhs) |
Dictionary order compare. More... | |
static const ON_2iPoint | From2dex (const class ON_2dex &src) |
static const ON_2iPoint | FromVector (const class ON_2iVector &v) |
Public Attributes | |
ON__INT32 | x |
ON__INT32 | y |
Static Public Attributes | |
static const ON_2iPoint | Origin |
static const ON_2iPoint | Unset |
|
default |
|
default |
|
default |
ON_2iPoint::ON_2iPoint | ( | int | x, |
int | y | ||
) |
|
static |
Dictionary order compare.
|
static |
|
static |
bool ON_2iPoint::IsOrigin | ( | ) | const |
bool ON_2iPoint::IsSet | ( | ) | const |
ON_2iPoint& ON_2iPoint::operator+= | ( | const class ON_2iVector & | ) |
ON_2iPoint& ON_2iPoint::operator-= | ( | const class ON_2iVector & | ) |
|
default |
|
static |
|
static |
ON__INT32 ON_2iPoint::x |
ON__INT32 ON_2iPoint::y |