Point

template<typename T>
struct Point2

Public Types

using value_type = T

Public Functions

template<typename OT>
inline explicit operator Point2<OT>() const
inline Point2<T> operator-() const
template<typename OT>
inline auto &operator+=(const Point2<OT> &other)
template<typename OT>
inline auto &operator-=(const Point2<OT> &other)
template<typename OT>
inline auto &operator*=(const OT &other)
template<typename OT>
inline auto &operator/=(const OT &other)

Public Members

T x
T y