8 _v ( a.getDimension() )
11 WELCOME_LOG <<
"Hello from the NPlane() Constructor";
13 for(
unsigned i = 1; i < a.
size(); i++){
18 if ( 0 == (
int)
_v.
size() )
ERROR_LOG <<
"You have not provided any directions";
29 WELCOME_LOG <<
"Hello from the NPlane() Constructor";
32 if ( 0 == (
int)
_v.
size() )
ERROR_LOG <<
"You have not provided any directions";
41 if ( t.
size() != (int)
_v.
size() )
ERROR_LOG <<
"You have not provided the correct number of parameters";
45 for(
unsigned int i = 0; i <
_v.
size(); i++){
46 point = point +
_v.
at(i)*t.
at(i);
60 for (
unsigned int i = 0; i <
_v.
size(); i++){
65 if (endline) os << std::endl;
virtual void print(std::ostream &os=std::cout, int endline=1) const
NPlane(const HyperPointSet &a)
const HyperPoint & at(int i) const
virtual void print(std::ostream &os=std::cout, int endline=1) const
const double & at(int i) const
const int & getDimension() const
unsigned int size() const
void push_back(const HyperPoint &point)
HyperPoint getParametricPoint(const HyperPoint &t) const