10 using namespace mathfce;
68 stream <<
"U = (" << b.
U->
X1() <<
", " << b.
U->
X2() <<
", " << b.
U->
X3() <<
")\n";
69 stream <<
"X0 = [" << b.
X0->
X() <<
", " << b.
X0->
Y() <<
", " << b.
X0->
Z() <<
"]\n";
107 t = (P.
X() - X0->X()) / U->X1();
108 onBisector = (fabs( (P.
Y() - X0->Y()) / U->X2() - t ) <
epsilon) & (fabs( (P.
Z() - X0->Z()) / U->X3() - t ) <
epsilon);
double Distance(const TBisector &, const TPoint &)
void SetVector(const TVector &)
const TVector & GetVector() const
static int numberInstance
const TPoint & GetPoint() const
void SetPoint(const TPoint &)
Global macros to enhance readability and debugging, general constants.
#define ASSERT_EQUAL(a, b)
void SetCoord(double, double, double)
void GetParameter(const TPoint &, double &, bool &) const
void SetPoints(const TPoint &, const TPoint &)
bool Belong(const TPoint &) const
TBisector & operator=(const TBisector &)
std::ostream & operator<<(std::ostream &stream, const TBisector &b)