CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeSphere.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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
26
27#include "Ge/GeSurface.h"
28class OdGeCircArc3d;
29
30#include "TD_PackPush.h"
31
74{
75public:
77
85
92 double radius,
93 const OdGePoint3d& center);
94
110 double radius,
111 const OdGePoint3d& center,
112 const OdGeVector3d& northAxis,
113 const OdGeVector3d& refAxis,
114 double startAngleU,
115 double endAngleU,
116 double startAngleV,
117 double endAngleV);
123 OdGeSphere(const OdGeSphere& sphere);
124
131 double radius() const;
132
140
148 double& startAngleU,
149 double& endAngleU) const;
150
158 double& startAngleV,
159 double& endAngleV) const;
160
168
176
184
192
201 bool isOuterNormal() const;
202
212 const OdGeTol& tol = OdGeContext::gTol) const;
213
223 double radius);
224
237 double startAngleU,
238 double endAngleU);
239
252 double startAngleV,
253 double endAngleV);
254
265 double radius,
266 const OdGePoint3d& center);
267
288 double radius,
289 const OdGePoint3d& center,
290 const OdGeVector3d& northAxis,
291 const OdGeVector3d& refAxis,
292 double startAngleU,
293 double endAngleU,
294 double startAngleV,
295 double endAngleV);
296
305
326 const OdGeLinearEnt3d& lineEnt,
327 int& numInt,
328 OdGePoint3d& p1,
329 OdGePoint3d& p2,
330 const OdGeTol& tol = OdGeContext::gTol) const;
331
338 bool isReverseV() const;
339
347 bool isReverseV);
348
350
351};
352
353#include "TD_PackPop.h"
354
355#endif // OD_GESPHERE_H
356
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
bool isReverseV() const
OdGePoint3d center() const
GE_OPERATORS_OVERRIDE_3D(OdGeSphere)
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)
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67