|
Dynamical System Framework
|
Public Member Functions | |
| Point (double x, double y) | |
| Construct a Point with given x and y coordinates. | |
| Point (std::string const &strPoint, std::string const &format="WKT") | |
| Construct a Point from a string representation. | |
| bool | operator== (const Point &other) const |
| Equality operator for Point. | |
| template<std::size_t Index> | |
| double const & | get () const |
| Support for structured bindings, e.g., auto const& [x, y] = point;. | |
| double const & | x () const |
| double const & | y () const |
|
inline |
Construct a Point with given x and y coordinates.
| x | The x coordinate |
| y | The y coordinate |
| dsf::geometry::Point::Point | ( | std::string const & | strPoint, |
| std::string const & | format = "WKT" ) |
Construct a Point from a string representation.
| strPoint | The string representation of the point. |
| format | The format of the string representation. Default is "WKT". |
| std::invalid_argument | if the format is not supported or the string is invalid. |