Rhino C++ API
8.13
|
#include <opennurbs_defines.h>
Public Member Functions | |
ON_ComponentIndexAndNumber ()=default | |
ON_ComponentIndexAndNumber (const ON_ComponentIndexAndNumber &)=default | |
~ON_ComponentIndexAndNumber ()=default | |
const ON_COMPONENT_INDEX | Component () const |
double | Number () const |
ON_ComponentIndexAndNumber & | operator= (const ON_ComponentIndexAndNumber &)=default |
void | SetComponent (ON_COMPONENT_INDEX ci) |
void | SetNumber (double x) |
Static Public Member Functions | |
static int | CompareComponent (const ON_ComponentIndexAndNumber *a, const ON_ComponentIndexAndNumber *b) |
static int | CompareComponentAndNumber (const ON_ComponentIndexAndNumber *a, const ON_ComponentIndexAndNumber *b) |
static int | CompareNumber (const ON_ComponentIndexAndNumber *a, const ON_ComponentIndexAndNumber *b) |
static const ON_ComponentIndexAndNumber | Create (ON_COMPONENT_INDEX ci, double x) |
Public Attributes | |
ON_COMPONENT_INDEX | m_ci = ON_COMPONENT_INDEX::UnsetComponentIndex |
double | m_x = ON_DBL_QNAN |
Static Public Attributes | |
static const ON_ComponentIndexAndNumber | UnsetAndNan |
static const ON_ComponentIndexAndNumber | UnsetAndZero |
|
default |
|
default |
|
default |
|
static |
Description: Compare Component() using ON_COMPONENT_INDEX::Compare().
|
static |
Description: Dictionary compare Component() 1st and Number() 2nd.
|
static |
Description: Compare Number() nans are treated as equal and sort last.
const ON_COMPONENT_INDEX ON_ComponentIndexAndNumber::Component | ( | ) | const |
|
static |
double ON_ComponentIndexAndNumber::Number | ( | ) | const |
|
default |
void ON_ComponentIndexAndNumber::SetComponent | ( | ON_COMPONENT_INDEX | ci | ) |
void ON_ComponentIndexAndNumber::SetNumber | ( | double | x | ) |
ON_COMPONENT_INDEX ON_ComponentIndexAndNumber::m_ci = ON_COMPONENT_INDEX::UnsetComponentIndex |
double ON_ComponentIndexAndNumber::m_x = ON_DBL_QNAN |
|
static |
|
static |