Home | Libraries | People | FAQ | More |
boost::ui::basic_point — 2D point data structure with custom coordinates type
// In header: <boost/ui/coord.hpp> template<typename T> class basic_point : public boost::geometry::model::d2::point_xy public ::boost::polygon::point_data< T > { public: // types typedef T value_type; // Type of coordinates. // construct/copy/destruct basic_point(); basic_point(const T &, const T &); template<typename D> explicit basic_point(const basic_point< D > &); // public member functions T x() const; T y() const; void x(const T &); void y(const T &); };
See Also:
basic_point
public
construct/copy/destructbasic_point();Constructs point with empty coordinates.
basic_point(const T & x, const T & y);Constructs point with x and y coordinates.
template<typename D> explicit basic_point(const basic_point< D > & p);Constructs size with an other size object.