Mercator
Public Member Functions | Private Attributes | List of all members
Mercator::Matrix< COLS, ROWS, FloatType > Class Template Reference

A fixed sized array of objects. More...

#include <Matrix.h>

Public Member Functions

 Matrix ()
 Constructor for the Matrix.
 
FloatType & operator() (unsigned int col, unsigned int row)
 Accessor for modifying the array.
 
const FloatType & operator() (unsigned int col, unsigned int row) const
 Accessor for the array.
 
FloatType & operator[] (unsigned int idx)
 Accessor for accessing the array as one dimensional.
 

Private Attributes

FloatType m_data [COLS *ROWS]
 Storage for the array of objects.
 

Detailed Description

template<unsigned int COLS, unsigned int ROWS, typename FloatType = float>
class Mercator::Matrix< COLS, ROWS, FloatType >

A fixed sized array of objects.

Mainly used to store the control points in a Segment.


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