CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
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
42
class
GE_TOOLKIT_EXPORT
OdGeBoundBlock2d
:
public
OdGeEntity2d
43
{
44
public
:
45
46
50
OdGeBoundBlock2d
();
51
60
OdGeBoundBlock2d
(
61
const
OdGePoint2d
& point1,
62
const
OdGePoint2d
& point2);
63
73
OdGeBoundBlock2d
(
74
const
OdGePoint2d
& base,
75
const
OdGeVector2d
& dir1,
76
const
OdGeVector2d
& dir2);
77
85
OdGeBoundBlock2d
(
86
const
OdGeBoundBlock2d
&
source
);
87
94
void
getMinMaxPoints
(
95
OdGePoint2d
& p1,
96
OdGePoint2d
& p2)
const
;
97
105
void
get
(
106
OdGePoint2d
& base,
107
OdGeVector2d
& side1,
108
OdGeVector2d
& side2)
const
;
109
116
OdGeBoundBlock2d
&
set
(
117
const
OdGePoint2d
& p1,
118
const
OdGePoint2d
& p2);
119
127
OdGeBoundBlock2d
&
set
(
128
const
OdGePoint2d
& base,
129
const
OdGeVector2d
& side1,
130
const
OdGeVector2d
& side2);
131
138
OdGeBoundBlock2d
&
extend
(
139
const
OdGePoint2d
& point);
140
146
OdGeBoundBlock2d
&
swell
(
147
double
distance);
148
160
bool
contains
(
161
const
OdGePoint2d
& point,
162
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
163
175
bool
isDisjoint
(
176
const
OdGeBoundBlock2d
& block,
177
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
178
186
OdGeBoundBlock2d
&
operator =
(
187
const
OdGeBoundBlock2d
& block);
188
193
bool
isBox
()
const
;
194
204
OdGeBoundBlock2d
&
setToBox
(
205
bool
toBox);
206
};
207
208
#include "
TD_PackPop.h
"
209
210
#endif
// OD_GE_BOUND_BLOCK2D_H
211
tol
tol
Definition:
DimVarDefs.h:2287
GeEntity2d.h
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GeExtents2d.h
TD_PackPop.h
TD_PackPush.h
OdGeBoundBlock2d
Definition:
GeBoundBlock2d.h:43
OdGeBoundBlock2d::swell
OdGeBoundBlock2d & swell(double distance)
OdGeBoundBlock2d::getMinMaxPoints
void getMinMaxPoints(OdGePoint2d &p1, OdGePoint2d &p2) const
OdGeBoundBlock2d::isBox
bool isBox() const
OdGeBoundBlock2d::get
void get(OdGePoint2d &base, OdGeVector2d &side1, OdGeVector2d &side2) const
OdGeBoundBlock2d::set
OdGeBoundBlock2d & set(const OdGePoint2d &p1, const OdGePoint2d &p2)
OdGeBoundBlock2d::OdGeBoundBlock2d
OdGeBoundBlock2d(const OdGePoint2d &base, const OdGeVector2d &dir1, const OdGeVector2d &dir2)
OdGeBoundBlock2d::OdGeBoundBlock2d
OdGeBoundBlock2d(const OdGeBoundBlock2d &source)
OdGeBoundBlock2d::isDisjoint
bool isDisjoint(const OdGeBoundBlock2d &block, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock2d::contains
bool contains(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock2d::OdGeBoundBlock2d
OdGeBoundBlock2d(const OdGePoint2d &point1, const OdGePoint2d &point2)
OdGeBoundBlock2d::setToBox
OdGeBoundBlock2d & setToBox(bool toBox)
OdGeBoundBlock2d::set
OdGeBoundBlock2d & set(const OdGePoint2d &base, const OdGeVector2d &side1, const OdGeVector2d &side2)
OdGeBoundBlock2d::extend
OdGeBoundBlock2d & extend(const OdGePoint2d &point)
OdGeBoundBlock2d::OdGeBoundBlock2d
OdGeBoundBlock2d()
OdGeEntity2d
Definition:
GeEntity2d.h:44
OdGeEntity2d::operator=
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
OdGePoint2d
Definition:
GePoint2d.h:63
OdGeTol
Definition:
GeTol.h:49
OdGeVector2d
Definition:
GeVector2d.h:51
source
GLsizei GLsizei GLchar * source
Definition:
gles2_ext.h:282
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:65
Generated on Wed Apr 5 2023 17:29:15