CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeBoundBlock2d.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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{
44public:
45
46
51
61 const OdGePoint2d& point1,
62 const OdGePoint2d& point2);
63
74 const OdGePoint2d& base,
75 const OdGeVector2d& dir1,
76 const OdGeVector2d& dir2);
77
87
95 OdGePoint2d& p1,
96 OdGePoint2d& p2) const;
97
105 void get(
106 OdGePoint2d& base,
107 OdGeVector2d& side1,
108 OdGeVector2d& side2) const;
109
117 const OdGePoint2d& p1,
118 const OdGePoint2d& p2);
119
128 const OdGePoint2d& base,
129 const OdGeVector2d& side1,
130 const OdGeVector2d& side2);
131
139 const OdGePoint2d& point);
140
147 double distance);
148
161 const OdGePoint2d& point,
162 const OdGeTol& tol = OdGeContext::gTol) const;
163
176 const OdGeBoundBlock2d& block,
177 const OdGeTol& tol = OdGeContext::gTol) const;
178
187 const OdGeBoundBlock2d& block);
188
193 bool isBox() const;
194
205 bool toBox);
206};
207
208#include "TD_PackPop.h"
209
210#endif // OD_GE_BOUND_BLOCK2D_H
211
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeBoundBlock2d & swell(double distance)
void getMinMaxPoints(OdGePoint2d &p1, OdGePoint2d &p2) const
bool isBox() const
void get(OdGePoint2d &base, OdGeVector2d &side1, OdGeVector2d &side2) const
OdGeBoundBlock2d & set(const OdGePoint2d &p1, const OdGePoint2d &p2)
OdGeBoundBlock2d(const OdGePoint2d &base, const OdGeVector2d &dir1, const OdGeVector2d &dir2)
OdGeBoundBlock2d(const OdGeBoundBlock2d &source)
bool isDisjoint(const OdGeBoundBlock2d &block, const OdGeTol &tol=OdGeContext::gTol) const
bool contains(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock2d(const OdGePoint2d &point1, const OdGePoint2d &point2)
OdGeBoundBlock2d & setToBox(bool toBox)
OdGeBoundBlock2d & set(const OdGePoint2d &base, const OdGeVector2d &side1, const OdGeVector2d &side2)
OdGeBoundBlock2d & extend(const OdGePoint2d &point)
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65