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

List of all members.

Public Attributes

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

Detailed Description

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

Specialized base class for the FloatingPointVectorDataContainerBase.

Definition at line 29 of file mlVector2.h.


Member Data Documentation

union { ... }
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 40 of file mlVector2.h.

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

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

Definition at line 35 of file mlVector2.h.

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

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

Definition at line 37 of file mlVector2.h.


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