40 BPoint (
int xpos,
int ypos);
61 BPoint &operator /= (
double c);
90 return p1.
X () == p2.
X () && p1.
Y () == p2.
Y ();
96 return p1.
X () != p2.
X () || p1.
Y () != p2.
Y ();
102 return BPoint (p1.
X () + p2.
X (), p1.
Y () + p2.
Y ());
108 return BPoint (p1.
X () - p2.
X (), p1.
Y () - p2.
Y ());
114 return BPoint (Round (p.
X ()*c), Round (p.
Y ()*c));
120 return BPoint (Round (p.
X ()*c), Round (p.
Y ()*c));
132 return BPoint (Round (p.
X () / c), Round (p.
Y () / c));
bool operator!=(const BPoint &p1, const BPoint &p2)
Operator overload for BPoint != (not equal test).
Definition: BPoint.h:94
void operator+=(DPoint3d &point, DVec3d const &vector)
operator overload for in-place addition of a point plus a vector
const BPoint operator*(const BPoint &p, double c)
Operator overload for BPoint * (multiply with a double).
Definition: BPoint.h:112
An integer 2d point, useful for screen pixel references, but not for real geometry: Point...
const BPoint operator-(const BPoint &p1, const BPoint &p2)
Operator overload for BPoint - (subtract).
Definition: BPoint.h:106
const BPoint operator+(const BPoint &p1, const BPoint &p2)
Operator overload for BPoint + (add).
Definition: BPoint.h:100
The BPoint class defines a point in the plane using integer precision.
Definition: BPoint.h:34
#define BEGIN_BENTLEY_UIFRAMEWORK_NAMESPACE
Definition: UIFramework.h:14
void operator*=(DVec3d &vector, double const scalar)
operator overload for in-place multiplication of a vector times a scalar,
#define DLLEXPORT
Definition: basedefs.h:137
int X() const
Retrieves the X value.
void operator-=(DPoint3d &point, DVec3d const &vector)
operator overload for in-place subtraction of a point minus a vector
const BPoint operator/(const BPoint &p, double c)
Operator overload for BPoint / (divide).
Definition: BPoint.h:130
#define END_BENTLEY_UIFRAMEWORK_NAMESPACE
Definition: UIFramework.h:15
int Y() const
Retrieves the Y value.
bool operator==(const BPoint &p1, const BPoint &p2)
Operator overload for BPoint == (equality test).
Definition: BPoint.h:88