Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures | Defines
NCollection_Vec2.hxx File Reference

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 Documentation

#define NCOLLECTION_VEC_COMPONENTS_2D (   theX,
  theY 
)
Value:
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##()); }
Returns:
2 components by their names in specified order