![]() |
fpmas 1.6
|
#include <clustered_graph_builder.h>
Public Member Functions | |
| Point (double x, double y) | |
Static Public Member Functions | |
| static double | distance (const Point &p1, const Point &p2) |
Public Attributes | |
| double | x |
| double | y |
Represents 2D coordinates.
|
inline |
Point constructor.
| x | x coordinate |
| y | y coordinate |
|
inlinestatic |
Computes the Euclidian distance between two Points.
| p1 | first point |
| p2 | second point |
p1 and p2 | double fpmas::graph::detail::Point::x |
x coordinate
| double fpmas::graph::detail::Point::y |
y coordinate