CFx SDK Documentation
2022 SP0
SDK
CFx
dd_inc
Ge
GeEntity3d.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
25
#ifndef _OD_GEENTITY3D_H_
26
#define _OD_GEENTITY3D_H_
28
#include "
Ge/GeGbl.h
"
29
#include "
Ge/GePoint3d.h
"
30
#include "
OdHeap.h
"
31
32
#include "
TD_PackPush.h
"
33
34
class
OdGeMatrix3d
;
35
class
OdGePlane
;
36
class
OdGeEntity3dImpl;
37
45
class
GE_TOOLKIT_EXPORT
OdGeEntity3d
46
{
47
public
:
48
ODRX_HEAP_OPERATORS
();
49
50
~OdGeEntity3d
();
51
52
// Run time type information.
53
59
bool
isKindOf
(
60
OdGe::EntityId
entType)
const
;
61
65
OdGe::EntityId
type
()
const
;
66
73
OdGeEntity3d
*
copy
()
const
;
74
75
OdGeEntity3d
& operator =(
76
const
OdGeEntity3d
& entity);
77
78
bool
operator ==
(
79
const
OdGeEntity3d
& entity)
const
;
80
bool
operator !=
(
81
const
OdGeEntity3d
& entity)
const
;
82
92
bool
isEqualTo
(
93
const
OdGeEntity3d
&
object
,
94
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
95
102
OdGeEntity3d
&
transformBy
(
103
const
OdGeMatrix3d
& xfm);
104
111
OdGeEntity3d
&
translateBy
(
112
const
OdGeVector3d
& translateVec);
113
123
OdGeEntity3d
&
rotateBy
(
124
double
angle,
125
const
OdGeVector3d
& vect,
126
const
OdGePoint3d
& basePoint =
OdGePoint3d::kOrigin
);
127
134
OdGeEntity3d
&
mirror
(
135
const
OdGePlane
& plane);
136
144
OdGeEntity3d
&
scaleBy
(
145
double
scaleFactor,
146
const
OdGePoint3d
& basePoint =
OdGePoint3d::kOrigin
);
147
155
bool
isOn
(
156
const
OdGePoint3d
& point,
157
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
158
159
protected
:
160
OdGeEntity3d
();
161
OdGeEntity3d
(
const
OdGeEntity3d
&);
162
void
connectTo
(OdGeEntity3dImpl*);
163
164
private
:
165
OdGeEntity3d
(OdGeEntity3dImpl*);
166
OdGeEntity3dImpl* m_pImpl;
167
friend
class
OdGeEntity3dImpl;
168
};
169
170
#include "
TD_PackPop.h
"
171
172
#endif
//_OD_GEENTITY3D_H_
173
tol
tol
Definition:
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GeGbl.h
GePoint3d.h
OdHeap.h
TD_PackPop.h
TD_PackPush.h
OdGeEntity3d
Definition:
GeEntity3d.h:46
OdGeEntity3d::scaleBy
OdGeEntity3d & scaleBy(double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d::rotateBy
OdGeEntity3d & rotateBy(double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d::OdGeEntity3d
OdGeEntity3d()
OdGeEntity3d::copy
OdGeEntity3d * copy() const
OdGeEntity3d::translateBy
OdGeEntity3d & translateBy(const OdGeVector3d &translateVec)
OdGeEntity3d::transformBy
OdGeEntity3d & transformBy(const OdGeMatrix3d &xfm)
OdGeEntity3d::connectTo
void connectTo(OdGeEntity3dImpl *)
OdGeEntity3d::isOn
bool isOn(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEntity3d::mirror
OdGeEntity3d & mirror(const OdGePlane &plane)
OdGeEntity3d::type
OdGe::EntityId type() const
OdGeEntity3d::isEqualTo
bool isEqualTo(const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEntity3d::isKindOf
bool isKindOf(OdGe::EntityId entType) const
OdGeEntity3d::~OdGeEntity3d
~OdGeEntity3d()
OdGeEntity3d::OdGeEntity3d
OdGeEntity3d(const OdGeEntity3d &)
OdGeEntity3d::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdGeMatrix3d
Definition:
GeMatrix3d.h:73
OdGePlane
Definition:
GePlane.h:45
OdGePoint3d
Definition:
GePoint3d.h:55
OdGePoint3d::kOrigin
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition:
GePoint3d.h:89
OdGeTol
Definition:
GeTol.h:49
OdGeVector3d
Definition:
GeVector3d.h:54
OdDAI::operator!=
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
OdDAI::operator==
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:60
OdGe::EntityId
EntityId
Definition:
Ge.h:53
Generated on Fri Jan 22 2021 18:01:34