30#ifdef OD_HAVE_MATH_FILE
34#ifdef OD_HAVE_COMPLEX_FILE
35#if __cplusplus >= 201103L
309 return sqrt((
x-point.
x) * (
x-point.
x) + (
y-point.
y) * (
y-point.
y));
320 double dx =
x - point.
x;
321 double dy =
y - point.
y;
322 double r = dx*dx + dy*dy;
335 return isEqualTo (point);
347 return !isEqualTo (point);
388 unsigned int i)
const
AECBASE_API OdGePoint3d operator*(const AECECS &matrix, const OdGePoint3d &point)
#define GE_TOOLKIT_EXPORT
bool operator!=(T left, const OdGiVariant::EnumType right)
bool operator==(T left, const OdGiVariant::EnumType right)
OdGePoint2d & mirror(const OdGeLine2d &line)
OdGePoint2d & set(double xx, double yy)
OdGePoint2d & operator-=(const OdGeVector2d &vect)
OdGePoint2d & transformBy(const OdGeMatrix2d &xfm)
bool isEqualTo(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint2d & rotateBy(double angle, const OdGePoint2d &basePoint=kOrigin)
static GE_STATIC_EXPORT const OdGePoint2d kOrigin
double distanceTo(const OdGePoint2d &point) const
OdGePoint2d & operator+=(const OdGeVector2d &vect)
double distanceSqrdTo(const OdGePoint2d &point) const
OdGePoint2d operator-(const OdGeVector2d &vect) const
OdGePoint2d(double xx, double yy)
OdGePoint2d & scaleBy(double scaleFactor, const OdGePoint2d &basePoint=kOrigin)
const OdGeVector2d & asVector() const
OdGePoint2d & setToSum(const OdGePoint2d &point, const OdGeVector2d &vect)
OdGePoint2d operator+(const OdGeVector2d &vect) const
OdGePoint2d & setToProduct(const OdGeMatrix2d &matrix, const OdGePoint2d &point)
static GE_STATIC_EXPORT OdGeTol gTol