| 49 | bool isZero() const { |
| 50 | return abs(x) < EPS && abs(y) < EPS && abs(z) < EPS; } |
| 51 | bool isOnLine(L(A, B)) const { |
| 52 | return ((A - *this) * (B - *this)).isZero(); } |
| 53 | bool isInSegment(L(A, B)) const { |
| 54 | return isOnLine(A, B) && ((A - *this) % (B - *this))<EPS;} |
| 55 | bool isInSegmentStrictly(L(A, B)) const { |
no test coverage detected