CFx SDK Documentation  2023 SP0
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
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
void getAngles(double &startAng, double &endAng) const
OdGeVector3d minorAxis() const
OdGeEllipCylinder & setHeight(const OdGeInterval &height)
OdGeEllipCylinder & setMinorRadius(double minorRadius)
double majorRadius() const
void setIsOuterNormal(bool isOuterNormal)
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint3d origin() const
OdGeEllipCylinder(const OdGeEllipCylinder &)
double radiusRatio() const
OdGeVector3d majorAxis() const
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
double heightAt(double u) const
OdGeEllipCylinder & setMajorRadius(double majorRadius)
void getHeight(OdGeInterval &height) const
bool isOuterNormal() const
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCylinder & setAngles(double startAng, double endAng)
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
double minorRadius() const
OdGeVector3d axisOfSymmetry() 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