37 static DPoint2d From (
double ax,
double ay);
45 void Init (
double x,
double y);
59 void InitDisconnect ();
101 void Scale (
double s);
115 double ScaleToLength (
DPoint2dCR source,
double length);
126 double ScaleToLength (
double length);
251 void RotateCCW (
DPoint2dCR vec,
double radians);
263 double Magnitude ()
const;
265 double MagnitudeSquared ()
const;
276 double DistanceSquared (
DPoint2dCR point2)
const;
280 double CrossProduct (
DPoint2dCR vector1)
const;
286 double CrossProductToPoints
303 double DotProductToPoints
315 void SetComponent (
double a,
int index);
320 double GetComponent (
int index)
const;
323 void GetComponents (
double &xCoord,
double &yCoord)
const;
349 bool IsPerpendicularTo (
DPoint2dCR vector2)
const;
369 bool IsEqual (
DPoint2dCR vector2,
double tolerance)
const;
373 double MaxAbs ()
const;
379 bool IsDisconnect ()
const;
382 bool IsConvexPair ()
const;
390 bool AlmostEqual (
DPoint2d const & dataB)
const;
393 #endif // __cplusplus
397 #endif // dpoint2d_H_
Distance dimensional constraint.
struct DVec2d const & DVec2dCR
Definition: msgeomstructs_typedefs.h:90
double y
y coordinate
Definition: dpoint2d.h:28
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
double x
x coordinate
Definition: dpoint2d.h:26
struct DPoint2d const & DPoint2dCR
Definition: msgeomstructs_typedefs.h:78
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
2d point coordinates.
Definition: dpoint2d.h:23