12 #define MS_DRANGE2D_DEFINED
70 static DRange2d From (
double x,
double y);
77 void InitFrom (
double x,
double y);
83 void Extend (
double x,
double y);
110 static DRange2d From (
double x0,
double y0,
double x1,
double y1);
120 void InitFrom (
double x0,
double y0,
double x1,
double y1);
143 static DRange2d FromUnitArcSweep (
double theta0,
double sweep);
147 void InitFromUnitArcSweep (
double theta0,
double sweep);
188 void Extend (
double extend);
241 bool IsNull ()
const;
245 double ExtentSquared ()
const;
255 double IntersectionExtentSquared (
DRange2dCR range2)
const;
260 bool IsEmpty ()
const;
263 bool IsPoint ()
const;
266 double Area ()
const;
270 double LargestCoordinate ()
const;
274 double XLength ()
const;
276 double YLength ()
const;
290 int IndexOfMaximalAxis ()
const;
323 bool IsEqual (
DRange2dCR range1,
double tolerance)
const;
344 bool IsContained (
DRange2dCR outerRange)
const;
360 bool Contains (
double x,
double y)
const;
365 bool IntersectsWith (
DRange2dCR range2)
const;
struct DRange2d const & DRange2dCR
Definition: msgeomstructs_typedefs.h:110
struct DPoint3d const * DPoint3dCP
Definition: msgeomstructs_typedefs.h:79
#define END_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:30
Area dimensional constraint.
struct DPoint2d * DPoint2dP
Definition: msgeomstructs_typedefs.h:78
struct DPoint2d & DPoint2dR
Definition: msgeomstructs_typedefs.h:78
struct DRange2d & DRange2dR
Definition: msgeomstructs_typedefs.h:110
A 2d low and high corner pair for range boxes.
Definition: drange2d.h:21
struct DRange3d const & DRange3dCR
Definition: msgeomstructs_typedefs.h:108
struct DPoint2d const & DPoint2dCR
Definition: msgeomstructs_typedefs.h:78
DPoint2d high
high point of box
Definition: drange2d.h:26
#define BEGIN_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:29
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
struct DPoint2d const * DPoint2dCP
Definition: msgeomstructs_typedefs.h:78
struct DPoint4d const & DPoint4dCR
Definition: msgeomstructs_typedefs.h:96
DPoint2d low
low point of box
Definition: drange2d.h:24