CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeEllipArc3d.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_GEELL3D_H
25#define OD_GEELL3D_H
27class OdGeEllipArc2d;
28class OdGeCircArc3d;
29class OdGeLineEnt3d;
30class OdGePlanarEnt;
31class OdGeExtents3d;
32
33#include "Ge/GeCurve3d.h"
34#include "OdPlatformSettings.h"
35
36#include "TD_PackPush.h"
37
58{
59public:
60
68
75 const OdGeEllipArc3d& ell);
76
83 const OdGeCircArc3d& source);
84
95 const OdGePoint3d& center,
96 const OdGeVector3d& majorAxis,
97 const OdGeVector3d& minorAxis,
98 double majorRadius,
99 double minorRadius);
100
113 const OdGePoint3d& center,
114 const OdGeVector3d& majorAxis,
115 const OdGeVector3d& minorAxis,
116 double majorRadius,
117 double minorRadius,
118 double startAng,
119 double endAng);
120
134 const OdGePlanarEnt& plane,
135 OdGePoint3d& pointOnPlane,
136 const OdGeTol& tol = OdGeContext::gTol) const ;
137
156 const OdGeLinearEnt3d& line,
157 int& numInt,
158 OdGePoint3d& p1,
159 OdGePoint3d& p2,
160 const OdGeTol& tol = OdGeContext::gTol) const ;
161
181 const OdGePlanarEnt& plane,
182 int& numInt,
183 OdGePoint3d& p1,
184 OdGePoint3d& p2,
185 const OdGeTol& tol = OdGeContext::gTol) const;
186
206 const OdGeLinearEnt3d& line,
207 const OdGeVector3d& projDir,
208 int& numInt,
209 OdGePoint3d& pntOnEllipse1,
210 OdGePoint3d& pntOnEllipse2,
211 OdGePoint3d& pntOnLine1,
212 OdGePoint3d& pntOnLine2,
213 const OdGeTol& tol = OdGeContext::gTol) const ;
214
221 OdGePlane& plane) const;
222
233 const OdGeTol& tol = OdGeContext::gTol) const;
234
247 const OdGePoint3d& point,
248 const OdGeTol& tol = OdGeContext::gTol) const;
249
257
264 double minorRadius() const;
265
272 double majorRadius() const;
273
281
289
300
313 double startAng() const;
314
327 double endAng() const;
328
336
344
354 const OdGePoint3d& center);
355
365 double rad);
366
376 double rad);
377
388 const OdGeVector3d& majorAxis,
389 const OdGeVector3d& minorAxis);
390
404 double startAng,
405 double endAng);
406
421 const OdGePoint3d& center,
422 const OdGeVector3d& majorAxis,
423 const OdGeVector3d& minorAxis,
424 double majorRadius,
425 double minorRadius);
426
446 const OdGePoint3d& center,
447 const OdGeVector3d& majorAxis,
448 const OdGeVector3d& minorAxis,
449 double majorRadius,
450 double minorRadius,
451 double startAng,
452 double endAng);
453
464 const OdGeCircArc3d& arc);
465
474 const OdGeEllipArc3d& ell);
475
477 // TD Special :
478
479 // functions making ellipse's axis orthogonal
480 // this one requires error flag
481
503 const OdGeTol& tol,
505
521 const OdGeTol& tol = OdGeContext::gTol);
522
529 double param) const;
530
537 OdGeExtents3d& extents) const;
538
551 const OdGeVector3d& tan,
552 OdGeDoubleArray& params) const;
553
566 const OdGePlane& refPlane,
567 OdGeDoubleArray& params) const;
568
589 const OdGeEllipArc3d& curve,
590 const OdGeTol &iTolerance = OdGeContext::gTol);
591};
592
593#include "TD_PackPop.h"
594
595#endif // OD_GEELL3D_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdResult
Definition: OdResult.h:29
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
OdGeEllipArc3d(const OdGePoint3d &center, const OdGeVector3d &majorAxis, const OdGeVector3d &minorAxis, double majorRadius, double minorRadius, double startAng, double endAng)
OdResult inverseTangentPlane(const OdGePlane &refPlane, OdGeDoubleArray &params) const
OdGeEllipArc3d & setAngles(double startAng, double endAng)
OdGeEllipArc3d & setCenter(const OdGePoint3d &center)
OdGeEllipArc3d(const OdGeEllipArc3d &ell)
double minorRadius() const
double majorRadius() const
OdGeEllipArc3d & set(const OdGePoint3d &center, const OdGeVector3d &majorAxis, const OdGeVector3d &minorAxis, double majorRadius, double minorRadius, double startAng, double endAng)
OdGeEllipArc3d(const OdGePoint3d &center, const OdGeVector3d &majorAxis, const OdGeVector3d &minorAxis, double majorRadius, double minorRadius)
OdGeVector3d tangentAt(double param) const
OdGePoint3d endPoint() const
OdGeEllipArc3d & joinWith(const OdGeEllipArc3d &curve, const OdGeTol &iTolerance=OdGeContext::gTol)
OdGeEllipArc3d & set(const OdGePoint3d &center, const OdGeVector3d &majorAxis, const OdGeVector3d &minorAxis, double majorRadius, double minorRadius)
OdGeEllipArc3d & setMajorRadius(double rad)
double startAng() const
void getPlane(OdGePlane &plane) const
OdGePoint3d closestPointToPlane(const OdGePlanarEnt &plane, OdGePoint3d &pointOnPlane, const OdGeTol &tol=OdGeContext::gTol) const
OdResult inverseTangent(const OdGeVector3d &tan, OdGeDoubleArray &params) const
OdGeEllipArc3d & setAxes(const OdGeVector3d &majorAxis, const OdGeVector3d &minorAxis)
bool isCircular(const OdGeTol &tol=OdGeContext::gTol) const
void orthogonalizeAxes(const OdGeTol &tol, OdGe::ErrorCondition &flag)
bool intersectWith(const OdGePlanarEnt &plane, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
void getGeomExtents(OdGeExtents3d &extents) const
OdGePoint3d startPoint() const
bool isInside(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d majorAxis() const
OdGePoint3d center() const
OdGeVector3d minorAxis() const
OdGeEllipArc3d & set(const OdGeCircArc3d &arc)
double endAng() const
OdGeVector3d normal() const
bool intersectWith(const OdGeLinearEnt3d &line, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipArc3d(const OdGeCircArc3d &source)
void orthogonalizeAxes(const OdGeTol &tol=OdGeContext::gTol)
OdGeEllipArc3d & setMinorRadius(double rad)
bool projIntersectWith(const OdGeLinearEnt3d &line, const OdGeVector3d &projDir, int &numInt, OdGePoint3d &pntOnEllipse1, OdGePoint3d &pntOnEllipse2, OdGePoint3d &pntOnLine1, OdGePoint3d &pntOnLine2, const OdGeTol &tol=OdGeContext::gTol) const
Definition: GeTol.h:49
GLenum GLint * params
Definition: gles2_ext.h:184
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65
ErrorCondition
Definition: Ge.h:413