CFx SDK Documentation  2023 SP0
GeSphere.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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_GESPHERE_H
25 #define OD_GESPHERE_H
27 #include "Ge/GeSurface.h"
28 class OdGeCircArc3d;
29 
30 #include "TD_PackPush.h"
31 
72 {
73 public:
74 
75 
88  double radius,
89  const OdGePoint3d& center);
91  double radius,
92  const OdGePoint3d& center,
93  const OdGeVector3d& northAxis,
94  const OdGeVector3d& refAxis,
95  double startAngleU,
96  double endAngleU,
97  double startAngleV,
98  double endAngleV);
99  OdGeSphere(const OdGeSphere& sphere);
100 
104  double radius() const;
105 
110 
118  double& startAngleU,
119  double& endAngleU) const;
120 
128  double& startAngleV,
129  double& endAngleV) const;
130 
137 
144 
149 
154 
159  bool isOuterNormal() const;
160 
166  bool isClosed(
167  const OdGeTol& tol = OdGeContext::gTol) const;
168 
175  double radius);
176 
184  double startAngleU,
185  double endAngleU);
186 
194  double startAngleV,
195  double endAngleV);
196 
207  double radius,
208  const OdGePoint3d& center);
209 
226  double radius,
227  const OdGePoint3d& center,
228  const OdGeVector3d& northAxis,
229  const OdGeVector3d& refAxis,
230  double startAngleU,
231  double endAngleU,
232  double startAngleV,
233  double endAngleV);
234 
236 
253  const OdGeLinearEnt3d& lineEnt,
254  int& numInt,
255  OdGePoint3d& p1,
256  OdGePoint3d& p2,
257  const OdGeTol& tol = OdGeContext::gTol) const;
258 
264  bool isReverseV() const;
265 
272  bool isReverseV);
273 
275 
276 };
277 
278 #include "TD_PackPop.h"
279 
280 #endif // OD_GESPHERE_H
281 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool isReverseV() const
OdGePoint3d center() const
OdGePoint3d southPole() const
OdGeSphere(double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
bool isOuterNormal() const
OdGeSphere(const OdGeSphere &sphere)
double radius() const
OdGeSphere & setAnglesInV(double startAngleV, double endAngleV)
OdGeVector3d northAxis() const
void getAnglesInU(double &startAngleU, double &endAngleU) const
OdGeSphere & set(double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
OdGeVector3d refAxis() const
void getAnglesInV(double &startAngleV, double &endAngleV) const
OdGePoint3d northPole() const
OdGeSphere & set(double radius, const OdGePoint3d &center)
OdGeSphere & setAnglesInU(double startAngleU, double endAngleU)
bool intersectWith(const OdGeLinearEnt3d &lineEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeSphere & setRadius(double radius)
OdGeSphere(double radius, const OdGePoint3d &center)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
void setReverseV(bool isReverseV)
OdGeSurface & operator=(const OdGeSurface &surf)
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60