CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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
34class OdGeMatrix3d;
35class OdGePlane;
36class OdGeEntity3dImpl;
37
46{
47public:
48//DOM-IGNORE-BEGIN
50//DOM-IGNORE-END
51
56
57 // Run time type information.
58
65 OdGe::EntityId entType) const;
66
71
79
88 OdGeEntity3d& operator =(
89 const OdGeEntity3d& entity);
90
100 const OdGeEntity3d& entity) const;
101
111 const OdGeEntity3d& entity) const;
112
124 const OdGeEntity3d& object,
125 const OdGeTol& tol = OdGeContext::gTol) const;
126
134 const OdGeMatrix3d& xfm);
135
143 const OdGeVector3d& translateVec);
144
155 double angle,
156 const OdGeVector3d& vect,
157 const OdGePoint3d& basePoint = OdGePoint3d::kOrigin);
158
166 const OdGePlane& plane);
167
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
191protected:
194 void connectTo(OdGeEntity3dImpl*);
195
196private:
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
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool operator!=(T left, const OdGiVariant::EnumType right)
Definition: GiVariant.h:403
bool operator==(T left, const OdGiVariant::EnumType right)
Definition: GiVariant.h:397
OdGeEntity3d * copy() const
OdGeEntity3d & rotateBy(double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
OdGeEntity3d & translateBy(const OdGeVector3d &translateVec)
void connectTo(OdGeEntity3dImpl *)
OdGeEntity3d & mirror(const OdGePlane &plane)
bool isOn(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGe::EntityId type() const
bool isEqualTo(const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
bool isKindOf(OdGe::EntityId entType) const
OdGeEntity3d & transformBy(const OdGeMatrix3d &xfm)
OdGeEntity3d(const OdGeEntity3d &)
OdGeEntity3d & scaleBy(double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:106
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65
EntityId
Definition: Ge.h:62