1 #if !defined(__ximath_h)
6 //***bd*** simple floating point point
11 CxPoint2(float const x_, float const y_);
12 CxPoint2(CxPoint2 const &p);
14 float Distance(CxPoint2 const p2);
15 float Distance(float const x_, float const y_);
20 //and simple rectangle
25 CxRect2(float const x1_, float const y1_, float const x2_, float const y2_);
26 CxRect2(CxPoint2 const &bl, CxPoint2 const &tr);
27 CxRect2(CxRect2 const &p);
29 float Surface() const;
30 CxRect2 CrossSection(CxRect2 const &r2) const;
31 CxPoint2 Center() const;