| 55 | bool isInSegmentStrictly(L(A, B)) const { |
| 56 | return isOnLine(A, B) && ((A - *this) % (B - *this))<-EPS;} |
| 57 | double getAngle() const { |
| 58 | return atan2(y, x); } |
| 59 | double getAngle(P(u)) const { |
| 60 | return atan2((*this * u).length(), *this % u); } |
| 61 | bool isOnPlane(PL(A, B, C)) const { |