MeVisLab Toolbox Reference
ml::Vector2DataContainer< DT > Class Template Reference

Specialized base class for the FloatingPointVectorDataContainerBase. More...

#include <mlVector2.h>

Inheritance diagram for ml::Vector2DataContainer< DT >:
ml::FloatingPointVector< DT, 2, Vector2DataContainer< DT > > ml::Tvec2< DT >

Public Attributes

union {
   struct {
      DT   x
 X-component of the vector, same as _buffer[0]. More...
 
      DT   y
 Y-component of the vector, same as _buffer[1]. More...
 
   } 
 
   DT   _buffer [2]
 Data members as vector to provide array access, same as x and y members. More...
 
}; 
 

Detailed Description

template<class DT>
class ml::Vector2DataContainer< DT >

Specialized base class for the FloatingPointVectorDataContainerBase.

Definition at line 28 of file mlVector2.h.

Member Data Documentation

◆ 

union { ... }

◆ _buffer

template<class DT >
DT ml::Vector2DataContainer< DT >::_buffer[2]

Data members as vector to provide array access, same as x and y members.

Definition at line 39 of file mlVector2.h.

◆ x

template<class DT >
DT ml::Vector2DataContainer< DT >::x

X-component of the vector, same as _buffer[0].

Definition at line 34 of file mlVector2.h.

◆ y

template<class DT >
DT ml::Vector2DataContainer< DT >::y

Y-component of the vector, same as _buffer[1].

Definition at line 36 of file mlVector2.h.


The documentation for this class was generated from the following file: