Rhino C++ API  7.24
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ON_2dex Class Reference

#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_2dexoperator= (const ON_2dex &)=default
 

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...
 

Detailed Description

pair of integer indices. This is intentionally a struct/typedef rather than a class so that it can be used in other structs.

Constructor & Destructor Documentation

◆ ON_2dex() [1/3]

ON_2dex::ON_2dex ( )
default

◆ ~ON_2dex()

ON_2dex::~ON_2dex ( )
default

◆ ON_2dex() [2/3]

ON_2dex::ON_2dex ( const ON_2dex )
default

◆ ON_2dex() [3/3]

ON_2dex::ON_2dex ( int  i,
int  j 
)

Member Function Documentation

◆ operator=()

ON_2dex& ON_2dex::operator= ( const ON_2dex )
default

Member Data Documentation

◆ i

int ON_2dex::i

do not initialize i, j for performance reasons

◆ j

int ON_2dex::j

◆ Unset

const ON_2dex ON_2dex::Unset
static

(ON_UNSET_INT_INDEX, ON_UNSET_INT_INDEX);

◆ Zero

const ON_2dex ON_2dex::Zero
static

(0, 0)