CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbArc.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_ARC_
28#define _OD_DB_ARC_
29
30#include "TD_PackPush.h"
31
32#include "DbCurve.h"
33
51{
52public:
53
55
66
67
81
82
98 void setCenter( const OdGePoint3d& center );
99
100
111 double radius() const;
112
113
126 void setRadius( double radius );
127
128
142 double startAngle() const;
143
144
165 void setStartAngle( double startAngle );
166
167
181 double endAngle() const;
182
183
204 void setEndAngle( double endAngle );
205
206
221 double thickness() const;
222
223
239 void setThickness( double vThickness );
240
241
254
255
272 void setNormal( const OdGeVector3d& geVector );
273
274
279
281 OdDbDwgFiler* pFiler);
282
283 virtual void dwgOutFields(
284 OdDbDwgFiler* pFiler) const;
285
287 OdDbDxfFiler* pFiler);
288
289 virtual void dxfOutFields(
290 OdDbDxfFiler* pFiler) const;
291
293 OdDbDxfFiler* pFiler);
294
295 virtual void dxfOutFields_R12(
296 OdDbDxfFiler* pFiler) const;
297
298 virtual bool subWorldDraw(
299 OdGiWorldDraw* pWd) const;
300
301 //FELIX_CHANGE_BEGIN
303 OdGeExtents3d& extents) const;
304 //FELIX_CHANGE_END
305
307 const OdGeMatrix3d& xfm);
308
310 const OdGeMatrix3d& xfm,
311 OdDbEntityPtr& pCopy) const;
312
314 void* pClsid) const;
315
316 virtual bool isClosed() const;
317
318 virtual bool isPeriodic() const;
319
320
332 virtual bool isPlanar() const;
333
334
351 virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
352
353
367 virtual OdResult getStartParam( double& startParam ) const;
368
369
384 virtual OdResult getEndParam( double& endParam ) const;
385
386
400 virtual OdResult getStartPoint( OdGePoint3d& startPoint ) const;
401
402
416 virtual OdResult getEndPoint( OdGePoint3d& endPoint ) const;
417
418
435 virtual OdResult getPointAtParam( double param, OdGePoint3d& pointOnCurve ) const;
436
437
453 virtual OdResult getParamAtPoint( const OdGePoint3d& pointOnCurve, double& param ) const;
454
455
471 virtual OdResult getDistAtParam( double param, double& dist ) const;
472
473
488 virtual OdResult getParamAtDist( double dist, double& param ) const;
489
490
506 virtual OdResult getFirstDeriv( double param, OdGeVector3d& firstDeriv ) const;
507
508
524 virtual OdResult getSecondDeriv( double param, OdGeVector3d& secondDeriv ) const;
525
526
540 virtual OdResult getArea( double& vArea ) const;
541
542
545 /*
546 OdDbArc(const OdGePoint3d& center, double radius,
547 double startAngle, double endAngle);
548 OdDbArc(const OdGePoint3d& center, const OdGeVector3d& normal,
549 double radius, double startAngle, double endAngle);
550 */
551
552 virtual OdResult getOdGeCurve(OdGeCurve3d*& pGeCurve, const OdGeTol& tol = OdGeContext::gTol) const;
553 virtual OdResult setFromOdGeCurve(const OdGeCurve3d& geCurve, OdGeVector3d *normal = NULL, const OdGeTol& tol = OdGeContext::gTol);
555 virtual OdDbEntityPtr subSubentPtr(const OdDbFullSubentPath& /* path */) const;
556};
557
566
567#include "TD_PackPop.h"
568
569#endif
570
OdSmartPtr< OdDbArc > OdDbArcPtr
Definition: DbArc.h:565
#define DBENT_EXPORT
Definition: DbExport.h:67
tol
Definition: DimVarDefs.h:2287
OdResult
Definition: OdResult.h:29
Definition: DbArc.h:51
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
virtual OdResult getParamAtDist(double dist, double &param) const
TD_USING(OdDbCurve::getFirstDeriv)
OdGeVector3d normal() const
virtual bool isClosed() const
virtual OdDbEntityPtr subSubentPtr(const OdDbFullSubentPath &) const
void setThickness(double vThickness)
void setEndAngle(double endAngle)
OdGePoint3d center() const
OdGeMatrix3d getEcs() const
double thickness() const
virtual OdResult reverseCurve()
double startAngle() const
virtual bool isPeriodic() const
virtual OdResult getParamAtPoint(const OdGePoint3d &pointOnCurve, double &param) const
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
virtual OdResult getStartPoint(OdGePoint3d &startPoint) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
virtual OdResult getEndPoint(OdGePoint3d &endPoint) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult getStartParam(double &startParam) const
double endAngle() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult subGetClassID(void *pClsid) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setRadius(double radius)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult getDistAtParam(double param, double &dist) const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult getEndParam(double &endParam) const
virtual OdResult setFromOdGeCurve(const OdGeCurve3d &geCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
void setCenter(const OdGePoint3d &center)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult getArea(double &vArea) const
DWGMAP_DECLARE_MEMBERS(OdDbArc)
double radius() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult getPointAtParam(double param, OdGePoint3d &pointOnCurve) const
void setStartAngle(double startAngle)
TD_USING(OdDbCurve::getSecondDeriv)
virtual bool isPlanar() const
void setNormal(const OdGeVector3d &geVector)
virtual OdResult getOdGeCurve(OdGeCurve3d *&pGeCurve, const OdGeTol &tol=OdGeContext::gTol) 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