11 #ifndef __KOME_CORE_POINT_H__
12 #define __KOME_CORE_POINT_H__
21 template <
typename T >
class Point {
61 return ( p0.
px < p1.
px );
72 return ( p0.
px > p1.
px );
83 return ( p0.
py < p1.
py );
94 return ( p0.
py > p1.
py );
100 #endif // __KOME_CORE_POINT_H__
virtual ~Point()
destructor
static bool lessY(const Point< T > &p0, const Point< T > &p1)
compare to sort
static bool greaterX(const Point< T > &p0, const Point< T > &p1)
compare to sort
static bool lessX(const Point< T > &p0, const Point< T > &p1)
compare to sort
static bool greaterY(const Point< T > &p0, const Point< T > &p1)
compare to sort
Point(T x, T y)
constructor
2 dimensional point information management class