CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
Ge
GeEntity2d.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_ENTITY_2D_H
25
#define OD_GE_ENTITY_2D_H
27
class
OdGeMatrix2d
;
28
class
OdGeLine2d
;
29
class
OdGeEntity2dImpl;
30
31
#include "
Ge/GePoint2d.h
"
32
#include "
OdHeap.h
"
33
34
#include "
TD_PackPush.h
"
35
43
class
GE_TOOLKIT_EXPORT
OdGeEntity2d
44
{
45
public
:
46
ODRX_HEAP_OPERATORS
();
47
53
bool
isKindOf
(
54
OdGe::EntityId
entType)
const
;
55
59
OdGe::EntityId
type
()
const
;
60
67
OdGeEntity2d
*
copy
()
const
;
68
69
OdGeEntity2d
& operator =(
70
const
OdGeEntity2d
& entity);
71
72
bool
operator ==
(
73
const
OdGeEntity2d
& entity)
const
;
74
75
bool
operator !=
(
76
const
OdGeEntity2d
& entity)
const
;
77
88
bool
isEqualTo
(
89
const
OdGeEntity2d
& other,
90
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
91
98
OdGeEntity2d
&
transformBy
(
99
const
OdGeMatrix2d
& xfm);
100
107
OdGeEntity2d
&
translateBy
(
108
const
OdGeVector2d
& translateVec);
109
117
OdGeEntity2d
&
rotateBy
(
118
double
angle,
119
const
OdGePoint2d
& basePoint =
OdGePoint2d::kOrigin
);
120
127
OdGeEntity2d
&
mirror
(
128
const
OdGeLine2d
& line);
129
137
OdGeEntity2d
&
scaleBy
(
138
double
scaleFactor,
139
const
OdGePoint2d
& basePoint =
OdGePoint2d::kOrigin
);
140
147
bool
isOn
(
148
const
OdGePoint2d
& point,
149
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
150
151
~OdGeEntity2d
();
152
protected
:
153
OdGeEntity2d
();
154
OdGeEntity2d
(
const
OdGeEntity2d
&);
155
void
connectTo
(OdGeEntity2dImpl*);
156
157
private
:
158
OdGeEntity2d
(OdGeEntity2dImpl*);
159
OdGeEntity2dImpl* m_pImpl;
160
friend
class
OdGeEntity2dImpl;
161
};
162
163
#include "
TD_PackPop.h
"
164
165
#endif
// OD_GE_ENTITY_2D_H
166
tol
tol
Definition:
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GePoint2d.h
OdHeap.h
TD_PackPop.h
TD_PackPush.h
OdGeEntity2d
Definition:
GeEntity2d.h:44
OdGeEntity2d::connectTo
void connectTo(OdGeEntity2dImpl *)
OdGeEntity2d::scaleBy
OdGeEntity2d & scaleBy(double scaleFactor, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
OdGeEntity2d::translateBy
OdGeEntity2d & translateBy(const OdGeVector2d &translateVec)
OdGeEntity2d::transformBy
OdGeEntity2d & transformBy(const OdGeMatrix2d &xfm)
OdGeEntity2d::type
OdGe::EntityId type() const
OdGeEntity2d::copy
OdGeEntity2d * copy() const
OdGeEntity2d::isEqualTo
bool isEqualTo(const OdGeEntity2d &other, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEntity2d::rotateBy
OdGeEntity2d & rotateBy(double angle, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
OdGeEntity2d::mirror
OdGeEntity2d & mirror(const OdGeLine2d &line)
OdGeEntity2d::isKindOf
bool isKindOf(OdGe::EntityId entType) const
OdGeEntity2d::isOn
bool isOn(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEntity2d::OdGeEntity2d
OdGeEntity2d(const OdGeEntity2d &)
OdGeEntity2d::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdGeEntity2d::~OdGeEntity2d
~OdGeEntity2d()
OdGeEntity2d::OdGeEntity2d
OdGeEntity2d()
OdGeLine2d
Definition:
GeLine2d.h:43
OdGeMatrix2d
Definition:
GeMatrix2d.h:73
OdGePoint2d
Definition:
GePoint2d.h:60
OdGePoint2d::kOrigin
static GE_STATIC_EXPORT const OdGePoint2d kOrigin
Definition:
GePoint2d.h:80
OdGeTol
Definition:
GeTol.h:49
OdGeVector2d
Definition:
GeVector2d.h:51
AECSpaceRegen::operator==
bool operator==(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
Definition:
AECDbSpaceTools.h:63
AECSpaceRegen::operator!=
bool operator!=(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
Definition:
AECDbSpaceTools.h:69
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:60
OdGe::EntityId
EntityId
Definition:
Ge.h:53
Generated on Thu Feb 24 2022 15:09:31