Open CASCADE Technology
6.5.4
|
Data Structures | |
class | NCollection_Vec2< Element_t > |
Defines the 2D-vector template. The main target for this class - to handle raw low-level arrays (from/to graphic driver etc.). More... | |
Defines | |
#define | NCOLLECTION_VEC_COMPONENTS_2D(theX, theY) |
Auxiliary macros to define couple of similar access components as vector methods. |
#define NCOLLECTION_VEC_COMPONENTS_2D | ( | theX, | |
theY | |||
) |
const NCollection_Vec2<Element_t> theX##theY##() const { return NCollection_Vec2<Element_t>(theX##(), theY##()); } \ const NCollection_Vec2<Element_t> theY##theX##() const { return NCollection_Vec2<Element_t>(theY##(), theX##()); }