CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbEllipse.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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_ELIPSE_H
28#define _OD_DB_ELIPSE_H
29
30#include "TD_PackPush.h"
31
32#include "DbCurve.h"
33#include "DwgDeclareMembers.h"
34
62{
63public:
65
74
75
90
91
108
109
122
123
140
141
159
160
178 double radiusRatio() const;
179
180
201
202
220 double startAngle() const;
221
222
249
250
268 double endAngle() const;
269
270
297
298
310 double paramAtAngle(double angle) const;
311
312
321 double angleAtParam(double param) const;
322
323
346 OdGeVector3d& unitNormal,
348 double& radiusRatio,
349 double& startAngle,
350 double& endAngle) const;
351
352
379 void set(const OdGePoint3d& center,
380 const OdGeVector3d& unitNormal,
381 const OdGeVector3d& majorAxis,
382 double radiusRatio,
383 double startAngle = 0.0,
384 double endAngle = Oda2PI);
385
386
388 OdDbDwgFiler* pFiler);
389
390 virtual void dwgOutFields(
391 OdDbDwgFiler* pFiler) const;
392
394 OdDbDxfFiler* pFiler);
395
396 virtual void dxfOutFields(
397 OdDbDxfFiler* pFiler) const;
398
399 virtual bool subWorldDraw(
400 OdGiWorldDraw* pWd) const;
401
402 //FELIX_CHANGE_BEGIN
404 OdGeExtents3d& extents) const;
405 //FELIX_CHANGE_END
406
408 void* pClsid) const;
409
410 virtual bool isClosed() const;
411
412 virtual bool isPeriodic() const;
413
414
428 virtual bool isPlanar() const;
429
430
449 virtual OdResult getPlane(OdGePlane& gePlane, OdDb::Planarity& gePlanarity) const;
450
451
474 virtual OdResult getStartParam(double& startParam) const;
475
476
507 OdResult setStartParam(double startParam);
508
509
532 virtual OdResult getEndParam(double& endParam) const;
533
534
565 OdResult setEndParam(double endParam);
566
567
584 virtual OdResult getStartPoint(OdGePoint3d& startPoint) const;
585
586
603 virtual OdResult getEndPoint(OdGePoint3d& endPoint) const;
604
605
624 virtual OdResult getPointAtParam(double param, OdGePoint3d& pointOnCurve) const;
625
626
644 virtual OdResult getParamAtPoint(const OdGePoint3d& pointOnCurve, double& param) const;
645
646
663 virtual OdResult getDistAtParam(double param, double& dist) const;
664
665
682 virtual OdResult getParamAtDist(double dist, double& param) const;
683
684
701 virtual OdResult getFirstDeriv(double param, OdGeVector3d& firstDeriv) const;
702
703
720 virtual OdResult getSecondDeriv(double param, OdGeVector3d& secondDeriv) const;
721
722
739 virtual OdResult getArea(double& vArea) const;
740
741
744
746 const OdGeMatrix3d& xfm);
747
748 virtual OdResult getOdGeCurve(OdGeCurve3d*& pGeCurve, const OdGeTol& tol = OdGeContext::gTol) const;
751
752 OdResult getOffsetCurves(double offsetDist,
753 OdRxObjectPtrArray& offsetCurves) const override;
754};
755
764
765#include "TD_PackPop.h"
766
767#endif //_OD_DB_ELIPSE_H
768
OdSmartPtr< OdDbEllipse > OdDbEllipsePtr
Definition DbEllipse.h:763
#define DBENT_EXPORT
Definition DbExport.h:67
tol
OdResult
Definition OdResult.h:29
#define Oda2PI
Definition OdaCommon.h:52
OdArray< OdRxObjectPtr > OdRxObjectPtrArray
Definition RxObject.h:1196
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const =0
virtual OdResult getOdGeCurve(OdGeCurve3d *&pGeCurve, const OdGeTol &tol=OdGeContext::gTol) const
virtual OdResult getEndParam(double &endParam) const
OdResult setStartAngle(double startAngle)
DWGMAP_DECLARE_MEMBERS(OdDbEllipse)
TD_USING(OdDbCurve::getSecondDeriv)
virtual OdResult setFromOdGeCurve(const OdGeCurve3d &geCurve, OdGeVector3d *normal=NULL, const OdGeTol &tol=OdGeContext::gTol)
virtual OdResult getStartParam(double &startParam) const
double paramAtAngle(double angle) const
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
virtual bool isPlanar() const
virtual OdResult getPointAtParam(double param, OdGePoint3d &pointOnCurve) const
void setCenter(const OdGePoint3d &center)
void get(OdGePoint3d &center, OdGeVector3d &unitNormal, OdGeVector3d &majorAxis, double &radiusRatio, double &startAngle, double &endAngle) const
OdGeVector3d majorAxis() const
double angleAtParam(double param) const
virtual OdResult getParamAtPoint(const OdGePoint3d &pointOnCurve, double &param) const
OdGeVector3d normal() const
double radiusRatio() const
virtual OdResult getStartPoint(OdGePoint3d &startPoint) const
virtual OdResult getSecondDeriv(double param, OdGeVector3d &secondDeriv) const
virtual bool isClosed() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult subGetClassID(void *pClsid) const
double startAngle() const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual bool isPeriodic() const
virtual OdResult getEndPoint(OdGePoint3d &endPoint) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
double endAngle() const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult getFirstDeriv(double param, OdGeVector3d &firstDeriv) const
OdGePoint3d center() const
virtual OdResult getDistAtParam(double param, double &dist) const
virtual OdResult reverseCurve()
OdResult getOffsetCurves(double offsetDist, OdRxObjectPtrArray &offsetCurves) const override
OdGeVector3d minorAxis() const
void setRadiusRatio(double radiusRatio)
virtual OdResult getArea(double &vArea) const
virtual OdResult getParamAtDist(double dist, double &param) const
OdResult setStartParam(double startParam)
TD_USING(OdDbCurve::getFirstDeriv)
OdResult setEndAngle(double endAngle)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void set(const OdGePoint3d &center, const OdGeVector3d &unitNormal, const OdGeVector3d &majorAxis, double radiusRatio, double startAngle=0.0, double endAngle=Oda2PI)
OdResult setEndParam(double endParam)
Planarity
Definition DbEntity.h:74
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67