8 #ifndef INCLUDE_WALLABY_GEOM_HPP_
9 #define INCLUDE_WALLABY_GEOM_HPP_
80 Point3(
const T& x,
const T &y,
const T &z)
132 Rect(
const T &x,
const T &y,
const T &width,
const T &height)
162 return Point2<T>(m_x + m_width / 2, m_y + m_height / 2);
187 return m_width * m_height;
const T & width() const
Definition: geom.hpp:150
Rect(const T &x, const T &y, const T &width, const T &height)
Definition: geom.hpp:132
void setX(const T &x)
Definition: geom.hpp:165
VF EXPORT_SYM point3 create_point3(int x, int y, int z)
T area() const
Definition: geom.hpp:185
const T & y() const
Definition: geom.hpp:145
Point2< T > center() const
Definition: geom.hpp:160
const T & height() const
Definition: geom.hpp:155
Point2(const T &x, const T &y)
Definition: geom.hpp:20
rectangle toCRectangle() const
Definition: geom.hpp:190
const T & y() const
Definition: geom.hpp:92
point2 toCPoint2() const
Definition: geom.hpp:66
const T & x() const
Definition: geom.hpp:140
const T & column() const
Definition: geom.hpp:41
const T & y() const
Definition: geom.hpp:36
VF EXPORT_SYM point2 create_point2(int x, int y)
void setWidth(const T &width)
Definition: geom.hpp:175
VF EXPORT_SYM rectangle create_rectangle(int ulx, int uly, int width, int height)
void setX(const T &x)
Definition: geom.hpp:46
point3 toCPoint3() const
Definition: geom.hpp:117
void setZ(const T &z)
Definition: geom.hpp:112
void setY(const T &y)
Definition: geom.hpp:107
void setHeight(const T &height)
Definition: geom.hpp:180
#define EXPORT_SYM
Definition: export.h:14
void setX(const T &x)
Definition: geom.hpp:102
const T & z() const
Definition: geom.hpp:97
Point3(const T &x, const T &y, const T &z)
Definition: geom.hpp:80
void setColumn(const T &column)
Definition: geom.hpp:51
void setY(const T &y)
Definition: geom.hpp:170
void setRow(const T &row)
Definition: geom.hpp:61
const T & x() const
Definition: geom.hpp:26
const T & x() const
Definition: geom.hpp:87
void setY(const T &y)
Definition: geom.hpp:56
const T & row() const
Definition: geom.hpp:31