|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Implementation of Point class. More...
Go to the source code of this file.
Namespaces | |
| namespace | zlayout |
| Main namespace for ZLayout library. | |
| namespace | zlayout::geometry |
Functions | |
| std::ostream & | zlayout::geometry::operator<< (std::ostream &os, const Point &point) |
| 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. | |
Implementation of Point class.
Definition in file point.cpp.