OGS
|
Definition at line 21 of file TemplateWeightedPoint.h.
#include <TemplateWeightedPoint.h>
Public Member Functions | |
TemplateWeightedPoint (std::array< FP_T, DIM > const &x, W_T weight) | |
W_T | getWeight () const |
Public Member Functions inherited from MathLib::TemplatePoint< FP_T, DIM > | |
TemplatePoint () | |
TemplatePoint (std::array< FP_T, DIM > x) | |
TemplatePoint (TemplatePoint const &)=default | |
virtual | ~TemplatePoint ()=default |
TemplatePoint & | operator= (TemplatePoint const &)=default |
const FP_T & | operator[] (std::size_t idx) const |
const access operator The access to the point coordinates is like the access to a field. Code example: More... | |
FP_T & | operator[] (std::size_t idx) |
access operator (see book Effektiv C++ programmieren - subsection 1.3.2 ). More... | |
const FP_T * | getCoords () const |
FP_T * | getCoords () |
virtual void | write (std::ostream &os) const |
virtual void | read (std::istream &is) |
Private Attributes | |
W_T const | weight_ |
|
inline |
Definition at line 24 of file TemplateWeightedPoint.h.
|
inline |
Definition at line 28 of file TemplateWeightedPoint.h.
References MathLib::TemplateWeightedPoint< FP_T, W_T, DIM >::weight_.
|
private |
Definition at line 31 of file TemplateWeightedPoint.h.
Referenced by MathLib::TemplateWeightedPoint< FP_T, W_T, DIM >::getWeight().