|
Rhino C++ API
8.24
|
#include <opennurbs_ipoint.h>
Public Member Functions | |
| ON_2iSize ()=default | |
| ON_2iSize (const ON_2iSize &)=default | |
| ON_2iSize (int cx, int cy) | |
| ~ON_2iSize ()=default | |
| bool | IsSet () const |
| bool | IsZero () const |
| ON_2iSize & | operator= (const ON_2iSize &)=default |
Static Public Member Functions | |
| static int | Compare (const ON_2iSize &lhs, const ON_2iSize &rhs) |
| static int | ComparePointer (const ON_2iSize *lhs, const ON_2iSize *rhs) |
Public Attributes | |
| ON__INT32 | cx |
| ON__INT32 | cy |
Static Public Attributes | |
| static const ON_2iSize | Unset |
| (ON_UNSET_INT_INDEX,ON_UNSET_INT_INDEX) More... | |
| static const ON_2iSize | Zero |
| (0,0) More... | |
Class ON_2iSize For those situations where a Windows SDK SIZE or MFC CSize value needs to be used in code that does not link with MFC.
|
default |
Default construction intentionally leaves x and y uninitialized. Use something like ON_2iSize pt(1,2); or ON_2iSize pt = ON_2iSize::Zero; when you need an initialized ON_2iSize.
|
default |
|
default |
| ON_2iSize::ON_2iSize | ( | int | cx, |
| int | cy | ||
| ) |
Dictionary compare. Returns: -1: lhs < rhs 0: lsh == rsh +1: lhs > rhs
Dictionary compare. Returns: -1: lhs < rhs 0: lsh == rsh +1: lhs > rhs
| bool ON_2iSize::IsSet | ( | ) | const |
Returns: true if neither cx nor cy are ON_UNSET_INT_INDEX.
| bool ON_2iSize::IsZero | ( | ) | const |
Returns: true if both cx and cy are 0.
| ON__INT32 ON_2iSize::cx |
| ON__INT32 ON_2iSize::cy |
|
static |
(ON_UNSET_INT_INDEX,ON_UNSET_INT_INDEX)
|
static |
(0,0)
1.8.17