|
|
2D point in Cartesian coordinate system More...
Public Member Functions | |
| point_xy () | |
| Default constructor, no initialization. | |
| point_xy (CoordinateType const &x, CoordinateType const &y) | |
| Constructor with x/y values. | |
| CoordinateType const & | x () const |
| Get x-value. | |
| void | x (CoordinateType const &v) |
| Set x-value. | |
| CoordinateType const & | y () const |
| Get y-value. | |
| void | y (CoordinateType const &v) |
| Set y-value. | |
2D point in Cartesian coordinate system
| CoordinateType | numeric type, for example, double, float, int |
| CoordinateSystem | coordinate system, defaults to cs::cartesian |
| boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::point_xy | ( | ) |
Default constructor, no initialization.
| boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::point_xy | ( | CoordinateType const & | x, |
| CoordinateType const & | y | ||
| ) |
Constructor with x/y values.
| CoordinateType const& boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::x | ( | ) | const |
Get x-value.
| CoordinateType const& boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::y | ( | ) | const |
Get y-value.
| void boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::x | ( | CoordinateType const & | v | ) |
Set x-value.
| void boost::geometry::model::d2::point_xy< CoordinateType, CoordinateSystem >::y | ( | CoordinateType const & | v | ) |
Set y-value.
|
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |