CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeCircArc3d.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#ifndef OD_GECIRCARC3D_H
25#define OD_GECIRCARC3D_H
26
27#include "Ge/GeCurve3d.h"
28#include "Ge/GePlane.h"
29
30#include "TD_PackPush.h"
31
32class OdGeLine3d;
33class OdGeCircArc2d;
34class OdGePlanarEnt;
35class OdGeExtents3d;
36
48{
49public:
51
53
60
69 const OdGeCircArc3d& source);
70
81 const OdGePoint3d& center,
82 const OdGeVector3d& normal,
83 double radius);
84
113 const OdGePoint3d& center,
114 const OdGeVector3d& normal,
115 const OdGeVector3d& refVec,
116 double radius, double startAng = 0,
117 double endAng = Oda2PI);
118
130 const OdGePoint3d& startPoint,
131 const OdGePoint3d& secondPoint,
132 const OdGePoint3d& endPoint);
133
143 const OdGePlanarEnt& plane,
144 OdGePoint3d& pointOnPlane,
145 const OdGeTol& tol = OdGeContext::gTol) const;
146
158 const OdGeLinearEnt3d& line,
159 int& numInt,
160 OdGePoint3d& p1,
161 OdGePoint3d& p2,
162 const OdGeTol& tol = OdGeContext::gTol) const;
163
179 const OdGeCircArc3d& arc,
180 int& numInt,
181 OdGePoint3d& p1,
182 OdGePoint3d& p2,
183 const OdGeTol& tol = OdGeContext::gTol) const;
184
200 const OdGePlanarEnt& plane,
201 int& numInt,
202 OdGePoint3d& p1,
203 OdGePoint3d& p2,
204 const OdGeTol& tol = OdGeContext::gTol) const;
205
221 const OdGeLinearEnt3d& line,
222 const OdGeVector3d& projDir,
223 int& numInt,
224 OdGePoint3d& pntOnArc1,
225 OdGePoint3d& pntOnArc2,
226 OdGePoint3d& pntOnLine1,
227 OdGePoint3d& pntOnLine2,
228 const OdGeTol& tol = OdGeContext::gTol) const;
229
239 const OdGePoint3d& point,
240 OdGeLine3d& line,
241 const OdGeTol& tol = OdGeContext::gTol) const;
242
260 const OdGePoint3d& point,
261 OdGeLine3d& line,
262 const OdGeTol& tol,
263 OdGeError& status) const;
264
271 OdGePlane& plane) const;
272
281 const OdGePoint3d& point,
282 const OdGeTol& tol = OdGeContext::gTol) const;
283
288
293
298
302 double radius() const;
303
315 double startAng() const;
316
328 double endAng() const;
329
334
339
346 const OdGePoint3d& center);
347
356 const OdGeVector3d& normal,
357 const OdGeVector3d& refVec);
358
365 double radius);
366
379 double startAng,
380 double endAng);
381
391 const OdGePoint3d& center,
392 const OdGeVector3d& normal,
393 double radius);
394
416 const OdGePoint3d& center,
417 const OdGeVector3d& normal,
418 const OdGeVector3d& refVec,
419 double radius,
420 double startAng,
421 double endAng);
422
432 const OdGePoint3d& startPoint,
433 const OdGePoint3d& secondPoint,
434 const OdGePoint3d& endPoint);
435
446 const OdGePoint3d& startPoint,
447 const OdGePoint3d& secondPoint,
448 const OdGePoint3d& endPoint,
449 OdGeError& status);
450
465 const OdGeCurve3d& curve1,
466 const OdGeCurve3d& curve2,
467 double radius,
468 double& param1,
469 double& param2,
470 bool& success);
471
487 const OdGeCurve3d& curve1,
488 const OdGeCurve3d& curve2,
489 const OdGeCurve3d& curve3,
490 double& param1,
491 double& param2,
492 double& param3,
493 bool& success);
494
503 const OdGeCircArc3d& arc);
504
506
513 OdGeExtents3d& extents) const;
514
532 const OdGeCircArc3d& curve,
533 const OdGeTol &iTolerance = OdGeContext::gTol);
534};
535
536#include "TD_PackPop.h"
537
538#endif
tol
OdGe::ErrorCondition OdGeError
Definition Ge.h:535
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
#define Oda2PI
Definition OdaCommon.h:52
OdGeCircArc3d & set(const OdGePoint3d &center, const OdGeVector3d &normal, double radius)
void getPlane(OdGePlane &plane) const
double endAng() const
OdGeCircArc3d & set(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, const OdGeCurve3d &curve3, double &param1, double &param2, double &param3, bool &success)
bool intersectWith(const OdGePlanarEnt &plane, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCircArc3d(const OdGeCircArc3d &source)
bool intersectWith(const OdGeLinearEnt3d &line, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCircArc3d & setAngles(double startAng, double endAng)
OdGeCircArc3d(const OdGePoint3d &center, const OdGeVector3d &normal, const OdGeVector3d &refVec, double radius, double startAng=0, double endAng=Oda2PI)
OdGeCircArc3d & set(const OdGePoint3d &startPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &endPoint)
OdGePoint3d center() const
OdGeCircArc3d & setRadius(double radius)
GE_OPERATORS_OVERRIDE_3D(OdGeCircArc3d)
OdGeCircArc3d & joinWith(const OdGeCircArc3d &curve, const OdGeTol &iTolerance=OdGeContext::gTol)
OdGeCircArc3d & set(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, double radius, double &param1, double &param2, bool &success)
OdGePoint3d closestPointToPlane(const OdGePlanarEnt &plane, OdGePoint3d &pointOnPlane, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCircArc3d & setAxes(const OdGeVector3d &normal, const OdGeVector3d &refVec)
bool tangent(const OdGePoint3d &point, OdGeLine3d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCircArc3d(const OdGePoint3d &center, const OdGeVector3d &normal, double radius)
OdGeCircArc3d & set(const OdGePoint3d &startPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &endPoint, OdGeError &status)
OdGeVector3d refVec() const
OdGeVector3d normal() const
bool projIntersectWith(const OdGeLinearEnt3d &line, const OdGeVector3d &projDir, int &numInt, OdGePoint3d &pntOnArc1, OdGePoint3d &pntOnArc2, OdGePoint3d &pntOnLine1, OdGePoint3d &pntOnLine2, const OdGeTol &tol=OdGeContext::gTol) const
double radius() const
OdGeCircArc3d & set(const OdGePoint3d &center, const OdGeVector3d &normal, const OdGeVector3d &refVec, double radius, double startAng, double endAng)
OdGePoint3d endPoint() const
OdGeCircArc3d & setCenter(const OdGePoint3d &center)
double startAng() const
OdGePoint3d startPoint() const
bool isInside(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCircArc3d(const OdGePoint3d &startPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &endPoint)
bool intersectWith(const OdGeCircArc3d &arc, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
bool tangent(const OdGePoint3d &point, OdGeLine3d &line, const OdGeTol &tol, OdGeError &status) const
void getGeomExtents(OdGeExtents3d &extents) const
OdGeExtents3d getGeomExtents(const OdGeInterval &range=OdGeInterval(), const OdGeMatrix3d *coordSystem=NULL) const
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
GLsizei GLsizei GLchar * source
Definition gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67