Rhino C++ API
8.13
|
#include <opennurbs_defines.h>
Public Member Functions | |
ON_2dex ()=default | |
ON_2dex (const ON_2dex &)=default | |
ON_2dex (int i, int j) | |
~ON_2dex ()=default | |
ON_2dex | AsDecreasing () const |
return a copy of this item, where i is larger or equal to j More... | |
ON_2dex | AsIncreasing () const |
return a copy of this item, where i is smaller or equal to j More... | |
bool | operator!= (const ON_2dex &src) const |
ON_2dex & | operator= (const ON_2dex &)=default |
bool | operator== (const ON_2dex &src) const |
Public Attributes | |
int | i |
do not initialize i, j for performance reasons More... | |
int | j |
Static Public Attributes | |
static const ON_2dex | Unset |
(ON_UNSET_INT_INDEX, ON_UNSET_INT_INDEX); More... | |
static const ON_2dex | Zero |
(0, 0) More... | |
pair of integer indices. This is intentionally a struct/typedef rather than a class so that it can be used in other structs.
|
default |
|
default |
|
default |
ON_2dex::ON_2dex | ( | int | i, |
int | j | ||
) |
ON_2dex ON_2dex::AsDecreasing | ( | ) | const |
return a copy of this item, where i is larger or equal to j
ON_2dex ON_2dex::AsIncreasing | ( | ) | const |
return a copy of this item, where i is smaller or equal to j
bool ON_2dex::operator!= | ( | const ON_2dex & | src | ) | const |
bool ON_2dex::operator== | ( | const ON_2dex & | src | ) | const |
int ON_2dex::i |
do not initialize i, j for performance reasons
int ON_2dex::j |
|
static |
(ON_UNSET_INT_INDEX, ON_UNSET_INT_INDEX);
|
static |
(0, 0)