CFx SDK Documentation  2023 SP0
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 
46 {
47 public:
49 
51 
52  // Run time type information.
53 
59  bool isKindOf(
60  OdGe::EntityId entType) const;
61 
66 
73  OdGeEntity3d* copy() const;
74 
75  OdGeEntity3d& operator =(
76  const OdGeEntity3d& entity);
77 
79  const OdGeEntity3d& entity) const;
81  const OdGeEntity3d& entity) const;
82 
92  bool isEqualTo(
93  const OdGeEntity3d& object,
94  const OdGeTol& tol = OdGeContext::gTol) const;
95 
103  const OdGeMatrix3d& xfm);
104 
112  const OdGeVector3d& translateVec);
113 
124  double angle,
125  const OdGeVector3d& vect,
126  const OdGePoint3d& basePoint = OdGePoint3d::kOrigin);
127 
135  const OdGePlane& plane);
136 
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:
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
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeEntity3d & scaleBy(double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d & rotateBy(double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d * copy() const
OdGeEntity3d & translateBy(const OdGeVector3d &translateVec)
OdGeEntity3d & transformBy(const OdGeMatrix3d &xfm)
void connectTo(OdGeEntity3dImpl *)
bool isOn(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEntity3d & mirror(const OdGePlane &plane)
OdGe::EntityId type() const
bool isEqualTo(const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
bool isKindOf(OdGe::EntityId entType) const
OdGeEntity3d(const OdGeEntity3d &)
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:89
Definition: GeTol.h:49
bool operator==(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
bool operator!=(const BlockRefPath &rA, const BlockRefPath &rB)
DOM.
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
EntityId
Definition: Ge.h:53