MINT2
HyperLine.cpp
Go to the documentation of this file.
1 #include "Mint/HyperLine.h"
2 
6  NPlane( HyperPointSet(a, b) )
7 {
8 
9  WELCOME_LOG << "Hello from the HyperLine() Constructor";
10 }
11 
14 void HyperLine::print(std::ostream& os, int endline) const{
15 
16  os << "HyperLine: v = ";
17  _origin.print(os, 0);
18  os << " + ";
19  _v.at(0).print(os, 0);
20  os << "t";
21  if (endline) os << std::endl;
22 
23 }
24 
28  GOODBYE_LOG << "Goodbye from the HyperLine() Constructor";
29 }
30 
31 
HyperPointSet _v
Definition: NPlane.h:36
virtual void print(std::ostream &os=std::cout, int endline=1) const
Definition: HyperLine.cpp:14
virtual void print(std::ostream &os=std::cout, int endline=1) const
Definition: HyperPoint.cpp:453
Definition: NPlane.h:30
const HyperPoint & at(int i) const
HyperPoint _origin
Definition: NPlane.h:34
#define GOODBYE_LOG
#define WELCOME_LOG
HyperLine(const HyperPoint &a, const HyperPoint &b)
Definition: HyperLine.cpp:5