CFx SDK Documentation  2020SP3
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
OdGeSurface
Definition: GeSurface.h:48
OdGeVector3d
Definition: GeVector3d.h:54
OdGeEllipCone::baseCenter
OdGePoint3d baseCenter() const
OdGeEllipCone::isClosed
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
tol
tol
Definition: DimVarDefs.h:2287
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
OdGeEllipCone::axisOfSymmetry
OdGeVector3d axisOfSymmetry() const
TD_PackPop.h
OdGeEllipCone::setMajorRadius
OdGeEllipCone & setMajorRadius(double majorRadius)
OdGeEllipCone::getHeight
void getHeight(OdGeInterval &height) const
OdGeEllipCone::OdGeEllipCone
OdGeEllipCone(const OdGeEllipCone &)
GeInterval.h
OdGeEllipCone::apex
OdGePoint3d apex() const
OdGePoint3d
Definition: GePoint3d.h:55
OdGeEllipCone::minorRadius
double minorRadius() const
OdGeEllipCone::minorAxis
OdGeVector3d minorAxis() const
OdGeEllipCone
Definition: GeEllipCone.h:104
OdGeEllipCone::getAngles
void getAngles(double &startAng, double &endAng) const
OdGeEllipCone::getHalfAngle
void getHalfAngle(double &cosineAngle, double &sineAngle) const
OdGeEllipCone::majorAxis
OdGeVector3d majorAxis() const
OdGeEllipCone::isOuterNormal
bool isOuterNormal() const
OdGeEllipCone::OdGeEllipCone
OdGeEllipCone(double cosineAngle, double sineAngle, const OdGePoint3d &origin, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdPlatformSettings.h
TD_PackPush.h
OdGeEllipCone::OdGeEllipCone
OdGeEllipCone()
OdGeEllipCone::OdGeEllipCone
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::radiusRatio
double radiusRatio() const
OdGeEllipCone::halfAngle
double halfAngle() const
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeInterval
Definition: GeInterval.h:40
OdGeEllipCone::setMinorRadius
OdGeEllipCone & setMinorRadius(double minorRadius)
OdGeLinearEnt3d
Definition: GeLinearEnt3d.h:44
OdGeEllipCone::heightAt
double heightAt(double u) const
OdGeEllipCone::majorRadius
double majorRadius() const
OdGeTol
Definition: GeTol.h:49
OdGeEllipCone::setHeight
OdGeEllipCone & setHeight(const OdGeInterval &height)
OdGeEllipCone::setAngles
OdGeEllipCone & setAngles(double startAng, double endAng)
OdGeEllipCone::set
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)
OdGeCircArc3d
Definition: GeCircArc3d.h:48
OdGeEllipCone::set
OdGeEllipCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &center, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)