|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
2D Point class for geometric calculations More...
#include <cmath>#include <iostream>#include <functional>Go to the source code of this file.
Classes | |
| class | zlayout::geometry::Point |
| 2D point with high-precision coordinates and utility methods More... | |
| struct | zlayout::geometry::PointHash |
| Hash function for Point (for use in std::unordered_map, etc.) More... | |
Namespaces | |
| namespace | zlayout |
| Main namespace for ZLayout library. | |
| namespace | zlayout::geometry |
Functions | |
| double | zlayout::geometry::distance (const Point &p1, const Point &p2) |
| Calculate distance between two points. | |
| Point | zlayout::geometry::midpoint (const Point &p1, const Point &p2) |
| Calculate midpoint between two points. | |
| double | zlayout::geometry::angle_between_points (const Point &p1, const Point &p2, const Point &p3) |
| Calculate angle between three points (p1-p2-p3) | |
| bool | zlayout::geometry::are_collinear (const Point &p1, const Point &p2, const Point &p3) |
| Check if three points are collinear. | |
| int | zlayout::geometry::orientation (const Point &p1, const Point &p2, const Point &p3) |
| Calculate orientation of three points. | |
2D Point class for geometric calculations
Definition in file point.hpp.