CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeSphere.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_GESPHERE_H
25#define OD_GESPHERE_H
27#include "Ge/GeSurface.h"
28class OdGeCircArc3d;
29
30#include "TD_PackPush.h"
31
74{
75public:
76
84
91 double radius,
92 const OdGePoint3d& center);
93
109 double radius,
110 const OdGePoint3d& center,
111 const OdGeVector3d& northAxis,
112 const OdGeVector3d& refAxis,
113 double startAngleU,
114 double endAngleU,
115 double startAngleV,
116 double endAngleV);
122 OdGeSphere(const OdGeSphere& sphere);
123
130 double radius() const;
131
139
147 double& startAngleU,
148 double& endAngleU) const;
149
157 double& startAngleV,
158 double& endAngleV) const;
159
167
175
183
191
200 bool isOuterNormal() const;
201
211 const OdGeTol& tol = OdGeContext::gTol) const;
212
222 double radius);
223
236 double startAngleU,
237 double endAngleU);
238
251 double startAngleV,
252 double endAngleV);
253
264 double radius,
265 const OdGePoint3d& center);
266
287 double radius,
288 const OdGePoint3d& center,
289 const OdGeVector3d& northAxis,
290 const OdGeVector3d& refAxis,
291 double startAngleU,
292 double endAngleU,
293 double startAngleV,
294 double endAngleV);
295
304
325 const OdGeLinearEnt3d& lineEnt,
326 int& numInt,
327 OdGePoint3d& p1,
328 OdGePoint3d& p2,
329 const OdGeTol& tol = OdGeContext::gTol) const;
330
337 bool isReverseV() const;
338
346 bool isReverseV);
347
349
350};
351
352#include "TD_PackPop.h"
353
354#endif // OD_GESPHERE_H
355
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
OdGeVector3d northAxis() const
void getAnglesInU(double &startAngleU, double &endAngleU) const
OdGeSphere & set(double radius, const OdGePoint3d &center)
OdGeSphere & setAnglesInU(double startAngleU, double endAngleU)
OdGeVector3d refAxis() const
void getAnglesInV(double &startAngleV, double &endAngleV) const
OdGePoint3d northPole() const
OdGeSphere & setRadius(double radius)
OdGeSphere & setAnglesInV(double startAngleV, double endAngleV)
bool intersectWith(const OdGeLinearEnt3d &lineEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeSphere(double radius, const OdGePoint3d &center)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeSphere & set(double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
void setReverseV(bool isReverseV)
OdGeSurface & operator=(const OdGeSurface &surf)
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65