CFx SDK Documentation  2020SP3
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 
OdGeSurface
Definition: GeSurface.h:48
OdGeVector3d
Definition: GeVector3d.h:54
OdGeSphere::OdGeSphere
OdGeSphere()
OdGeSphere::intersectWith
bool intersectWith(const OdGeLinearEnt3d &lineEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
tol
tol
Definition: DimVarDefs.h:2287
OdGeSphere::setAnglesInU
OdGeSphere & setAnglesInU(double startAngleU, double endAngleU)
OdGeSphere::center
OdGePoint3d center() const
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
OdGeSphere::isClosed
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeSphere::isOuterNormal
bool isOuterNormal() const
TD_PackPop.h
OdGeSphere::southPole
OdGePoint3d southPole() const
OdGeSphere::northAxis
OdGeVector3d northAxis() const
OdGeSphere::getAnglesInV
void getAnglesInV(double &startAngleV, double &endAngleV) const
OdGeSphere::isReverseV
bool isReverseV() const
OdGeSphere::set
OdGeSphere & set(double radius, const OdGePoint3d &center)
OdGePoint3d
Definition: GePoint3d.h:55
OdGeSphere::setRadius
OdGeSphere & setRadius(double radius)
OdGeSphere
Definition: GeSphere.h:72
OdGeSphere::setReverseV
void setReverseV(bool isReverseV)
TD_PackPush.h
OdGeSphere::setAnglesInV
OdGeSphere & setAnglesInV(double startAngleV, double endAngleV)
OdGeSphere::getAnglesInU
void getAnglesInU(double &startAngleU, double &endAngleU) const
OdGeSphere::set
OdGeSphere & set(double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
OdGeSphere::OdGeSphere
OdGeSphere(double radius, const OdGePoint3d &center)
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeSphere::refAxis
OdGeVector3d refAxis() const
OdGeLinearEnt3d
Definition: GeLinearEnt3d.h:44
OdGeTol
Definition: GeTol.h:49
OdGeSphere::radius
double radius() const
OdGeSphere::OdGeSphere
OdGeSphere(double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
OdGeSphere::OdGeSphere
OdGeSphere(const OdGeSphere &sphere)
OdGeCircArc3d
Definition: GeCircArc3d.h:48
OdGeSphere::northPole
OdGePoint3d northPole() const