CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Ge
GeEntity3d.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
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
//DOM-IGNORE-BEGIN
49
ODRX_HEAP_OPERATORS
();
50
//DOM-IGNORE-END
51
55
~OdGeEntity3d
();
56
57
// Run time type information.
58
64
bool
isKindOf
(
65
OdGe::EntityId
entType)
const
;
66
70
OdGe::EntityId
type
()
const
;
71
78
OdGeEntity3d
*
copy
()
const
;
79
88
OdGeEntity3d
& operator =(
89
const
OdGeEntity3d
& entity);
90
99
bool
operator ==
(
100
const
OdGeEntity3d
& entity)
const
;
101
110
bool
operator !=
(
111
const
OdGeEntity3d
& entity)
const
;
112
123
bool
isEqualTo
(
124
const
OdGeEntity3d
&
object
,
125
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
126
133
OdGeEntity3d
&
transformBy
(
134
const
OdGeMatrix3d
& xfm);
135
142
OdGeEntity3d
&
translateBy
(
143
const
OdGeVector3d
& translateVec);
144
154
OdGeEntity3d
&
rotateBy
(
155
double
angle,
156
const
OdGeVector3d
& vect,
157
const
OdGePoint3d
& basePoint =
OdGePoint3d::kOrigin
);
158
165
OdGeEntity3d
&
mirror
(
166
const
OdGePlane
& plane);
167
175
OdGeEntity3d
&
scaleBy
(
176
double
scaleFactor,
177
const
OdGePoint3d
& basePoint =
OdGePoint3d::kOrigin
);
178
186
bool
isOn
(
187
const
OdGePoint3d
& point,
188
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
189
190
//DOM-IGNORE-BEGIN
191
protected
:
192
OdGeEntity3d
();
193
OdGeEntity3d
(
const
OdGeEntity3d
&);
194
void
connectTo
(OdGeEntity3dImpl*);
195
196
private
:
197
OdGeEntity3d
(OdGeEntity3dImpl*);
198
OdGeEntity3dImpl* m_pImpl;
199
friend
class
OdGeEntity3dImpl;
200
//DOM-IGNORE-END
201
};
202
203
#include "
TD_PackPop.h
"
204
205
#endif
//_OD_GEENTITY3D_H_
206
tol
tol
Definition:
DimVarDefs.h:2287
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
GeGbl.h
GePoint3d.h
operator!=
bool operator!=(T left, const OdGiVariant::EnumType right)
Definition:
GiVariant.h:403
operator==
bool operator==(T left, const OdGiVariant::EnumType right)
Definition:
GiVariant.h:397
OdHeap.h
TD_PackPop.h
TD_PackPush.h
OdGeEntity3d
Definition:
GeEntity3d.h:46
OdGeEntity3d::copy
OdGeEntity3d * copy() const
OdGeEntity3d::rotateBy
OdGeEntity3d & rotateBy(double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d::OdGeEntity3d
OdGeEntity3d()
OdGeEntity3d::translateBy
OdGeEntity3d & translateBy(const OdGeVector3d &translateVec)
OdGeEntity3d::connectTo
void connectTo(OdGeEntity3dImpl *)
OdGeEntity3d::mirror
OdGeEntity3d & mirror(const OdGePlane &plane)
OdGeEntity3d::isOn
bool isOn(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
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::transformBy
OdGeEntity3d & transformBy(const OdGeMatrix3d &xfm)
OdGeEntity3d::~OdGeEntity3d
~OdGeEntity3d()
OdGeEntity3d::OdGeEntity3d
OdGeEntity3d(const OdGeEntity3d &)
OdGeEntity3d::scaleBy
OdGeEntity3d & scaleBy(double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdGeMatrix3d
Definition:
GeMatrix3d.h:79
OdGePlane
Definition:
GePlane.h:47
OdGePoint3d
Definition:
GePoint3d.h:57
OdGePoint3d::kOrigin
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition:
GePoint3d.h:106
OdGeTol
Definition:
GeTol.h:49
OdGeVector3d
Definition:
GeVector3d.h:55
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:65
OdGe::EntityId
EntityId
Definition:
Ge.h:62
Generated on Wed Apr 5 2023 17:29:16