RMF
RMF::Vector< D > Class Template Reference

Represent a point in some dimension. More...

#include <RMF/Vector.h>

Inheritance diagram for RMF::Vector< D >:

Public Member Functions

 Vector (const Vector &)=default
 Vector (float x, float y, float z)
 Vector (float x, float y, float z, float q)
template<class Range>
 Vector (Range r)
Vector & operator= (const Vector &)=default

Static Public Member Functions

static unsigned int get_dimension ()

Detailed Description

template<unsigned int D>
class RMF::Vector< D >

std::array provides operator[]() and begin()/end() in C++.

Definition at line 31 of file Vector.h.

Constructor & Destructor Documentation

◆ Vector() [1/4]

template<unsigned int D>
RMF::Vector< D >::Vector ( )

Definition at line 53 of file Vector.h.

◆ Vector() [2/4]

template<unsigned int D>
template<class Range>
RMF::Vector< D >::Vector ( Range r)
explicit

Definition at line 56 of file Vector.h.

◆ Vector() [3/4]

template<unsigned int D>
RMF::Vector< D >::Vector ( float x,
float y,
float z )

Definition at line 62 of file Vector.h.

◆ Vector() [4/4]

template<unsigned int D>
RMF::Vector< D >::Vector ( float x,
float y,
float z,
float q )

Definition at line 68 of file Vector.h.

Member Function Documentation

◆ get_dimension()

template<unsigned int D>
unsigned int RMF::Vector< D >::get_dimension ( )
static

Definition at line 83 of file Vector.h.


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