PROBI
1.0
|
Weighted point class. More...
#include <WeightedPoint.hpp>
Public Member Functions | |
WeightedPoint (WeightedPoint const &point)=default | |
WeightedPoint (Point const &point) | |
WeightedPoint (std::vector< double > const &coordinates) | |
WeightedPoint (std::vector< double > const &coordinates, double weight) | |
void | setWeight (double weight) |
double | getWeight () const |
Public Member Functions inherited from Point | |
Point (Point const &point)=default | |
Point (int dimension) | |
Point (Point const *point) | |
Point (std::vector< double > const &coordinates) | |
double & | operator[] (int index) |
double const & | operator[] (int index) const |
Point & | operator+= (const Point &point) |
Point & | operator-= (const Point &point) |
Point const | operator+ (Point const &x) const |
Point const | operator- (Point const &x) const |
bool | operator== (Point const &x) const |
bool | operator!= (Point const &x) const |
std::vector< double > ::const_iterator | cbegin () const |
std::vector< double > ::const_iterator | cend () const |
int | getDimension () const |
Weighted point class.