| | |
| | | inline double toRadians(double degree); |
| | | inline double toDegree(double radians); |
| | | inline bool isEqual(double a, double b); |
| | | inline bool isEqual2(double a, double b); |
| | | |
| | | void MakeLine(Line *line, const PointF *p1, const PointF *p2); |
| | | void MakePolygon(Polygon *polygon, std::initializer_list<PointF> point_set); |
| | | void CleanPolygon(Polygon *polygon); |
| | |
| | | bool PartInsidePolygon(const Polygon *t1, const Polygon *t2); |
| | | bool OutsidePolygon(const Polygon *t1, const Polygon *t2); |
| | | int IntersectionOfLine(PointF p1, PointF p2, PointF p3); |
| | | PointF GetVerticalPoint(PointF p1, PointF p2, PointF p3); |
| | | |
| | | #endif //GUI_GEOMETRY_H |