CFx SDK Documentation  2023 SP0
GeBoundBlock2d.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GE_BOUND_BLOCK2D_H
25 #define OD_GE_BOUND_BLOCK2D_H
27 #include "Ge/GeEntity2d.h"
28 #include "Ge/GeExtents2d.h"
29 
30 #include "TD_PackPush.h"
31 
43 {
44 public:
45 
46 
59  const OdGePoint2d& point1,
60  const OdGePoint2d& point2);
61 
63  const OdGePoint2d& base,
64  const OdGeVector2d& dir1,
65  const OdGeVector2d& dir2);
67  const OdGeBoundBlock2d& source);
68 
76  OdGePoint2d& p1,
77  OdGePoint2d& p2) const;
78 
86  void get(
87  OdGePoint2d& base,
88  OdGeVector2d& side1,
89  OdGeVector2d& side2) const;
90 
98  const OdGePoint2d& p1,
99  const OdGePoint2d& p2);
100 
109  const OdGePoint2d& base,
110  const OdGeVector2d& side1,
111  const OdGeVector2d& side2);
112 
120  const OdGePoint2d& point);
121 
128  double distance);
129 
136  bool contains(
137  const OdGePoint2d& point) const;
138 
146  const OdGeBoundBlock2d& block) const;
147 
149  const OdGeBoundBlock2d& block);
150 
155  bool isBox() const;
156 
167  bool toBox);
168 };
169 
170 #include "TD_PackPop.h"
171 
172 #endif // OD_GE_BOUND_BLOCK2D_H
173 
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeBoundBlock2d & set(const OdGePoint2d &p1, const OdGePoint2d &p2)
void getMinMaxPoints(OdGePoint2d &p1, OdGePoint2d &p2) const
OdGeBoundBlock2d & swell(double distance)
bool isBox() const
void get(OdGePoint2d &base, OdGeVector2d &side1, OdGeVector2d &side2) const
OdGeBoundBlock2d(const OdGePoint2d &base, const OdGeVector2d &dir1, const OdGeVector2d &dir2)
OdGeBoundBlock2d(const OdGeBoundBlock2d &source)
OdGeBoundBlock2d & setToBox(bool toBox)
OdGeBoundBlock2d & set(const OdGePoint2d &base, const OdGeVector2d &side1, const OdGeVector2d &side2)
OdGeBoundBlock2d & extend(const OdGePoint2d &point)
bool contains(const OdGePoint2d &point) const
OdGeBoundBlock2d(const OdGePoint2d &point1, const OdGePoint2d &point2)
bool isDisjoint(const OdGeBoundBlock2d &block) const
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282