CFx SDK Documentation  2023 SP0
GeCone.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_GECONE_H
25 #define OD_GECONE_H
27 #include "OdPlatformSettings.h"
28 #include "Ge/GeSurface.h"
29 #include "Ge/GeInterval.h"
30 
31 class OdGePoint3d;
32 class OdGeVector3d;
33 class OdGeCircArc3d;
34 class OdGeLinearEnt3d;
35 
36 #include "TD_PackPush.h"
37 
91 {
92 public:
93 
94 
114  double cosineAngle,
115  double sineAngle,
116  const OdGePoint3d& baseOrigin,
117  double baseRadius,
118  const OdGeVector3d& axisOfSymmetry);
120  double cosineAngle,
121  double sineAngle,
122  const OdGePoint3d& baseOrigin,
123  double baseRadius,
124  const OdGeVector3d& axisOfSymmetry,
125  const OdGeVector3d& refAxis,
126  const OdGeInterval& height,
127  double startAng,
128  double endAng);
129  OdGeCone(const OdGeCone& cone);
130 
134  double baseRadius() const;
135 
140 
150  void getAngles(
151  double& startAng,
152  double& endAng) const;
153 
157  double halfAngle() const;
158 
166  double& cosineAngle,
167  double& sineAngle) const;
168 
174  void getHeight(
175  OdGeInterval& height) const;
176 
188  double heightAt(
189  double u) const;
190 
195 
200 
204  OdGePoint3d apex() const;
205 
212  bool isClosed(
213  const OdGeTol& tol = OdGeContext::gTol) const;
214 
219  bool isOuterNormal() const;
220 
227  double baseRadius);
228 
239  double startAng,
240  double endAng);
241 
248  const OdGeInterval& height);
249 
264  double cosineAngle,
265  double sineAngle,
266  const OdGePoint3d& baseCenter,
267  double baseRadius,
268  const OdGeVector3d& axisOfSymmetry);
269 
288  double cosineAngle,
289  double sineAngle,
290  const OdGePoint3d& baseCenter,
291  double baseRadius,
292  const OdGeVector3d& axisOfSymmetry,
293  const OdGeVector3d& refAxis,
294  const OdGeInterval& height,
295  double startAng,
296  double endAng);
297 
298  OdGeCone& operator =(const OdGeCone& cone);
299 
304  const OdGeLinearEnt3d& linEnt,
305  int& numInt,
306  OdGePoint3d& p1,
307  OdGePoint3d& p2,
308  const OdGeTol& tol = OdGeContext::gTol) const;
309 };
310 
311 #include "TD_PackPop.h"
312 
313 #endif // OD_GECONE_H
314 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
void getHalfAngle(double &cosineAngle, double &sineAngle) const
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
double baseRadius() const
double heightAt(double u) const
OdGeCone & setBaseRadius(double baseRadius)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeCone & setHeight(const OdGeInterval &height)
OdGeCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double baseRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeVector3d refAxis() const
OdGeVector3d axisOfSymmetry() const
void getHeight(OdGeInterval &height) const
OdGeCone(const OdGeCone &cone)
OdGeCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &baseCenter, double baseRadius, const OdGeVector3d &axisOfSymmetry)
OdGePoint3d apex() const
OdGePoint3d baseCenter() const
OdGeCone & setAngles(double startAng, double endAng)
double halfAngle() const
bool isOuterNormal() const
OdGeCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &baseCenter, double baseRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double baseRadius, const OdGeVector3d &axisOfSymmetry)
void getAngles(double &startAng, double &endAng) const
OdGeSurface & operator=(const OdGeSurface &surf)
Definition: GeTol.h:49
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60