CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbCircle.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
26
27#ifndef _OD_DB_CIRCLE_
28#define _OD_DB_CIRCLE_
29
30#include "TD_PackPush.h"
31
32#include "DbCurve.h"
33#include "DwgDeclareMembers.h"
34
35class OdDbCircleImpl;
36
53{
54public:
56
65
66
79
80
94 void setCenter( const OdGePoint3d& center );
95
96
107 double radius() const;
108
109
122 void setRadius( double radius );
123
124
139 double thickness() const;
140
141
157 void setThickness( double vThickness );
158
159
172
173
190 void setNormal( const OdGeVector3d& geVector );
191
192
194 OdDbDwgFiler* pFiler);
195
196 virtual void dwgOutFields(
197 OdDbDwgFiler* pFiler) const;
198
200 OdDbDxfFiler* pFiler);
201
202 virtual void dxfOutFields(
203 OdDbDxfFiler* pFiler) const;
204
206 OdDbDxfFiler* pFiler);
207
208 virtual void dxfOutFields_R12(
209 OdDbDxfFiler* pFiler) const;
210
211 virtual bool subWorldDraw(
212 OdGiWorldDraw* pWd) const;
213
214 //FELIX_CHANGE_BEGIN
216 OdGeExtents3d& extents) const;
217 //FELIX_CHANGE_END
218
220 const OdGeMatrix3d& xfm);
221
223 const OdGeMatrix3d& xfm,
224 OdDbEntityPtr& pCopy) const;
225
227 void* pClsid) const;
228
229 virtual bool isClosed() const;
230
231 virtual bool isPeriodic() const;
232
233
245 virtual bool isPlanar() const;
246
247
264 virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
265
266
280 virtual OdResult getStartParam( double& startParam ) const;
281
282
295 virtual OdResult getEndParam( double& endParam ) const;
296
297
311 virtual OdResult getStartPoint( OdGePoint3d& startPoint ) const;
312
313
327 virtual OdResult getEndPoint( OdGePoint3d& endPoint ) const;
328
329
346 virtual OdResult getPointAtParam( double param, OdGePoint3d& pointOnCurve ) const;
347
348
364 virtual OdResult getParamAtPoint( const OdGePoint3d& pointOnCurve, double& param ) const;
365
366
382 virtual OdResult getDistAtParam( double param, double& dist ) const;
383
384
399 virtual OdResult getParamAtDist( double dist, double& param ) const;
400
401
417 virtual OdResult getFirstDeriv( double param, OdGeVector3d& firstDeriv ) const;
418
419
435 virtual OdResult getSecondDeriv( double param, OdGeVector3d& secondDeriv ) const;
436
437
450 virtual OdResult getArea( double& vArea ) const;
451
456
457
460
461 virtual OdResult getOdGeCurve(OdGeCurve3d*& pGeCurve, const OdGeTol& tol = OdGeContext::gTol) const;
462 virtual OdResult setFromOdGeCurve(const OdGeCurve3d& geCurve, OdGeVector3d *normal = NULL, const OdGeTol& tol = OdGeContext::gTol);
463};
464
473
474#include "TD_PackPop.h"
475
476#endif
OdSmartPtr< OdDbCircle > OdDbCirclePtr
Definition: DbCircle.h:472
#define DBENT_EXPORT
Definition: DbExport.h:67
tol
Definition: DimVarDefs.h:2287
OdResult
Definition: OdResult.h:29
double thickness() const
void setCenter(const OdGePoint3d &center)
void setNormal(const OdGeVector3d &geVector)
virtual bool isPlanar() const
virtual OdResult getStartParam(double &startParam) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult getDistAtParam(double param, double &dist) const
TD_USING(OdDbCurve::getSecondDeriv)
DWGMAP_DECLARE_MEMBERS(OdDbCircle)
virtual OdResult getEndParam(double &endParam) const
virtual OdResult getStartPoint(OdGePoint3d &startPoint) const
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
void setThickness(double vThickness)
TD_USING(OdDbCurve::getFirstDeriv)
virtual OdResult getParamAtPoint(const OdGePoint3d &pointOnCurve, double &param) const
virtual bool isClosed() const
virtual OdResult getEndPoint(OdGePoint3d &endPoint) const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdGePoint3d center() const
virtual OdResult subGetClassID(void *pClsid) const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
virtual bool isPeriodic() const
virtual OdResult getOdGeCurve(OdGeCurve3d *&pGeCurve, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d normal() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult getPointAtParam(double param, OdGePoint3d &pointOnCurve) const
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult getParamAtDist(double dist, double &param) const
void setRadius(double radius)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult getArea(double &vArea) const
virtual OdResult setFromOdGeCurve(const OdGeCurve3d &geCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
double radius() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdGeMatrix3d getEcs() const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const =0
Definition: GeTol.h:49
Planarity
Definition: DbEntity.h:74
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65