CFx SDK Documentation  2020SP3
GeEllipCylinder.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_GEELLIPCYLNDR_H
26 #define OD_GEELLIPCYLNDR_H
28 #include "Ge/GeSurface.h"
29 #include "Ge/GeInterval.h"
30 #include "OdPlatformSettings.h"
31 
32 class OdGeCircArc3d;
33 
34 #include "TD_PackPush.h"
35 
89 {
90 public:
91 
92 
108  double minorRadius,
109  double majorRadius,
110  const OdGePoint3d& origin,
111  const OdGeVector3d& axisOfSymmetry);
113  double minorRadius,
114  double majorRadius,
115  const OdGePoint3d& origin,
116  const OdGeVector3d& axisOfSymmetry,
117  const OdGeVector3d& majorAxis,
118  const OdGeInterval& height,
119  double startAng,
120  double endAng);
121 
122  // Geometric properties.
123  //
124 
128  double radiusRatio () const ;
129 
133  double minorRadius () const ;
134 
135 
139  double majorRadius () const ;
140 
144  OdGePoint3d origin () const ;
145 
156  void getAngles (
157  double& startAng,
158  double& endAng) const ;
159 
165  void getHeight (
166  OdGeInterval& height) const ;
167 
178  double heightAt (
179  double u) const ;
180 
185 
190 
195 
200  bool isOuterNormal () const;
201 
208  bool isClosed (
209  const OdGeTol& tol = OdGeContext::gTol) const;
210 
217  bool isOuterNormal);
218 
225  double minorRadius);
226 
233  double majorRadius);
234 
246  double startAng,
247  double endAng);
248 
255  const OdGeInterval& height);
256 
266  double minorRadius,
267  double majorRadius,
268  const OdGePoint3d& origin,
269  const OdGeVector3d& axisOfSymmetry);
270 
287  double minorRadius,
288  double majorRadius,
289  const OdGePoint3d& origin,
290  const OdGeVector3d& axisOfSymmetry,
291  const OdGeVector3d& majorAxis,
292  const OdGeInterval& height,
293  double startAng,
294  double endAng);
295 
296 
312  const OdGeLinearEnt3d& linEnt,
313  int& numInt,
314  OdGePoint3d& p1,
315  OdGePoint3d& p2,
316  const OdGeTol& tol = OdGeContext::gTol) const;
317 
319 };
320 
321 
322 
323 #include "TD_PackPop.h"
324 
325 #endif // OD_GEELLIPCYLNDR_H
326 // AE - End
OdGeSurface
Definition: GeSurface.h:48
OdGeEllipCylinder::minorAxis
OdGeVector3d minorAxis() const
OdGeVector3d
Definition: GeVector3d.h:54
tol
tol
Definition: DimVarDefs.h:2287
OdGeEllipCylinder::setMajorRadius
OdGeEllipCylinder & setMajorRadius(double majorRadius)
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
OdGeEllipCylinder::OdGeEllipCylinder
OdGeEllipCylinder(const OdGeEllipCylinder &)
OdGeEllipCylinder::getAngles
void getAngles(double &startAng, double &endAng) const
OdGeEllipCylinder::set
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
TD_PackPop.h
OdGeEllipCylinder::radiusRatio
double radiusRatio() const
OdGeEllipCylinder::isOuterNormal
bool isOuterNormal() const
OdGeEllipCylinder::setIsOuterNormal
void setIsOuterNormal(bool isOuterNormal)
GeInterval.h
OdGeEllipCylinder::majorAxis
OdGeVector3d majorAxis() const
OdGeEllipCylinder
Definition: GeEllipCylinder.h:89
OdGeEllipCylinder::setHeight
OdGeEllipCylinder & setHeight(const OdGeInterval &height)
OdGePoint3d
Definition: GePoint3d.h:55
OdGeEllipCylinder::OdGeEllipCylinder
OdGeEllipCylinder()
OdGeEllipCylinder::heightAt
double heightAt(double u) const
OdGeEllipCylinder::majorRadius
double majorRadius() const
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdPlatformSettings.h
OdGeEllipCylinder::OdGeEllipCylinder
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
TD_PackPush.h
OdGeEllipCylinder::set
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
OdGeEllipCylinder::origin
OdGePoint3d origin() 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
OdGeLinearEnt3d
Definition: GeLinearEnt3d.h:44
OdGeEllipCylinder::setMinorRadius
OdGeEllipCylinder & setMinorRadius(double minorRadius)
OdGeEllipCylinder::setAngles
OdGeEllipCylinder & setAngles(double startAng, double endAng)
OdGeEllipCylinder::getHeight
void getHeight(OdGeInterval &height) const
OdGeTol
Definition: GeTol.h:49
OdGeEllipCylinder::axisOfSymmetry
OdGeVector3d axisOfSymmetry() const
OdGeEllipCylinder::isClosed
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCylinder::intersectWith
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCylinder::OdGeEllipCylinder
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeCircArc3d
Definition: GeCircArc3d.h:48
OdGeEllipCylinder::minorRadius
double minorRadius() const