CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeCircArc3d.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#ifndef OD_GECIRCARC3D_H
25#define OD_GECIRCARC3D_H
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:
50
57
66 const OdGeCircArc3d& source);
67
78 const OdGePoint3d& center,
79 const OdGeVector3d& normal,
80 double radius);
81
110 const OdGePoint3d& center,
111 const OdGeVector3d& normal,
112 const OdGeVector3d& refVec,
113 double radius, double startAng = 0,
114 double endAng = Oda2PI);
115
127 const OdGePoint3d& startPoint,
128 const OdGePoint3d& secondPoint,
129 const OdGePoint3d& endPoint);
130
140 const OdGePlanarEnt& plane,
141 OdGePoint3d& pointOnPlane,
142 const OdGeTol& tol = OdGeContext::gTol) const;
143
155 const OdGeLinearEnt3d& line,
156 int& numInt,
157 OdGePoint3d& p1,
158 OdGePoint3d& p2,
159 const OdGeTol& tol = OdGeContext::gTol) const;
160
176 const OdGeCircArc3d& arc,
177 int& numInt,
178 OdGePoint3d& p1,
179 OdGePoint3d& p2,
180 const OdGeTol& tol = OdGeContext::gTol) const;
181
197 const OdGePlanarEnt& plane,
198 int& numInt,
199 OdGePoint3d& p1,
200 OdGePoint3d& p2,
201 const OdGeTol& tol = OdGeContext::gTol) const;
202
218 const OdGeLinearEnt3d& line,
219 const OdGeVector3d& projDir,
220 int& numInt,
221 OdGePoint3d& pntOnArc1,
222 OdGePoint3d& pntOnArc2,
223 OdGePoint3d& pntOnLine1,
224 OdGePoint3d& pntOnLine2,
225 const OdGeTol& tol = OdGeContext::gTol) const;
226
236 const OdGePoint3d& point,
237 OdGeLine3d& line,
238 const OdGeTol& tol = OdGeContext::gTol) const;
239
257 const OdGePoint3d& point,
258 OdGeLine3d& line,
259 const OdGeTol& tol,
260 OdGeError& status) const;
261
268 OdGePlane& plane) const;
269
278 const OdGePoint3d& point,
279 const OdGeTol& tol = OdGeContext::gTol) const;
280
285
290
295
299 double radius() const;
300
312 double startAng() const;
313
325 double endAng() const;
326
331
336
343 const OdGePoint3d& center);
344
353 const OdGeVector3d& normal,
354 const OdGeVector3d& refVec);
355
362 double radius);
363
376 double startAng,
377 double endAng);
378
388 const OdGePoint3d& center,
389 const OdGeVector3d& normal,
390 double radius);
391
413 const OdGePoint3d& center,
414 const OdGeVector3d& normal,
415 const OdGeVector3d& refVec,
416 double radius,
417 double startAng,
418 double endAng);
419
429 const OdGePoint3d& startPoint,
430 const OdGePoint3d& secondPoint,
431 const OdGePoint3d& endPoint);
432
443 const OdGePoint3d& startPoint,
444 const OdGePoint3d& secondPoint,
445 const OdGePoint3d& endPoint,
446 OdGeError& status);
447
462 const OdGeCurve3d& curve1,
463 const OdGeCurve3d& curve2,
464 double radius,
465 double& param1,
466 double& param2,
467 bool& success);
468
484 const OdGeCurve3d& curve1,
485 const OdGeCurve3d& curve2,
486 const OdGeCurve3d& curve3,
487 double& param1,
488 double& param2,
489 double& param3,
490 bool& success);
491
500 const OdGeCircArc3d& arc);
501
503
510 OdGeExtents3d& extents) const;
511
529 const OdGeCircArc3d& curve,
530 const OdGeTol &iTolerance = OdGeContext::gTol);
531};
532
533#include "TD_PackPop.h"
534
535#endif
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
#define Oda2PI
Definition: OdaCommon.h:57
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)
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
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65
ErrorCondition
Definition: Ge.h:413