CFx SDK Documentation  2023 SP0
GeEllipCone.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 
25 #ifndef OD_GEELLIPCONE_H
26 #define OD_GEELLIPCONE_H
28 #include "Ge/GeSurface.h"
29 #include "Ge/GeInterval.h"
30 #include "OdPlatformSettings.h"
31 
32 class OdGePoint3d;
33 class OdGeVector3d;
34 class OdGeCircArc3d;
35 class OdGeLinearEnt3d;
36 
37 #include "TD_PackPush.h"
38 
104 {
105 public:
106 
107 
126  double cosineAngle,
127  double sineAngle,
128  const OdGePoint3d& origin,
129  double minorRadius,
130  double majorRadius,
131  const OdGeVector3d& axisOfSymmetry);
133  double cosineAngle,
134  double sineAngle,
135  const OdGePoint3d& baseOrigin,
136  double minorRadius,
137  double majorRadius,
138  const OdGeVector3d& axisOfSymmetry,
139  const OdGeVector3d& majorAxis,
140  const OdGeInterval& height,
141  double startAng,
142  double endAng);
143 
147  double radiusRatio () const ;
148 
152  double minorRadius () const ;
153 
157  double majorRadius () const ;
158 
163 
173  void getAngles (
174  double& startAng,
175  double& endAng) const ;
176 
180  double halfAngle () const ;
181 
186  double& cosineAngle,
187  double& sineAngle) const ;
188 
189 
195  void getHeight(
196  OdGeInterval& height) const ;
197 
208  double heightAt(
209  double u) const ;
210 
215 
220 
225 
229  OdGePoint3d apex() const ;
230 
237  bool isClosed(
238  const OdGeTol& tol = OdGeContext::gTol) const ;
239 
244  bool isOuterNormal() const ;
245 
252  double minorRadius) ;
253 
260  double majorRadius) ;
261 
262 
270  double startAng,
271  double endAng) ;
272 
279  const OdGeInterval& height) ;
280 
298  double cosineAngle,
299  double sineAngle,
300  const OdGePoint3d& center,
301  double minorRadius,
302  double majorRadius,
303  const OdGeVector3d& axisOfSymmetry) ;
304 
326  double cosineAngle,
327  double sineAngle,
328  const OdGePoint3d& center,
329  double minorRadius,
330  double majorRadius,
331  const OdGeVector3d& axisOfSymmetry,
332  const OdGeVector3d& majorAxis,
333  const OdGeInterval& height,
334  double startAng,
335  double endAng) ;
336 
338 
339 };
340 
341 #include "TD_PackPop.h"
342 
343 #endif // OD_GEELLIPCONE_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGePoint3d apex() const
OdGeVector3d majorAxis() const
OdGeVector3d minorAxis() const
double halfAngle() const
OdGeEllipCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeEllipCone & setHeight(const OdGeInterval &height)
OdGeEllipCone & setMajorRadius(double majorRadius)
OdGeEllipCone & setAngles(double startAng, double endAng)
double majorRadius() const
OdGeVector3d axisOfSymmetry() const
void getHeight(OdGeInterval &height) const
double radiusRatio() const
void getAngles(double &startAng, double &endAng) const
OdGePoint3d baseCenter() const
bool isOuterNormal() const
OdGeEllipCone(const OdGeEllipCone &)
void getHalfAngle(double &cosineAngle, double &sineAngle) const
double heightAt(double u) const
OdGeEllipCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &center, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)
double minorRadius() const
OdGeEllipCone(double cosineAngle, double sineAngle, const OdGePoint3d &origin, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)
OdGeEllipCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &center, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCone & setMinorRadius(double minorRadius)
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