CFx SDK Documentation  2020SP3
GeCylinder.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_GECYLNDR_H
25 #define OD_GECYLNDR_H
27 #include "OdPlatformSettings.h"
28 #include "Ge/GeSurface.h"
29 #include "Ge/GeInterval.h"
30 
31 class OdGeCircArc3d;
32 
33 #include "TD_PackPush.h"
34 
78 {
79 public:
80 
81 
95  double radius,
96  const OdGePoint3d& origin,
97  const OdGeVector3d& axisOfSymmetry);
99  double radius,
100  const OdGePoint3d& origin,
101  const OdGeVector3d& axisOfSymmetry,
102  const OdGeVector3d& refAxis,
103  const OdGeInterval& height,
104  double startAng,
105  double endAng);
107 
111  double radius() const;
112 
117 
127  void getAngles(
128  double& startAng,
129  double& endAng) const;
130 
136  void getHeight(
137  OdGeInterval& height) const;
138 
149  double heightAt(
150  double u) const;
151 
156 
161 
166  bool isOuterNormal() const;
167 
174  bool isClosed(
175  const OdGeTol& tol = OdGeContext::gTol) const;
176 
183  double radius);
184 
196  double startAng,
197  double endAng);
198 
205  const OdGeInterval& height);
206 
215  double radius,
216  const OdGePoint3d& origin,
217  const OdGeVector3d& axisOfSym);
218 
233  double radius,
234  const OdGePoint3d& origin,
235  const OdGeVector3d& axisOfSymmetry,
236  const OdGeVector3d& refAxis,
237  const OdGeInterval& height,
238  double startAng,
239  double endAng);
240 
257  const OdGeLinearEnt3d& linEnt,
258  int& numInt,
259  OdGePoint3d& p1,
260  OdGePoint3d& p2,
261  const OdGeTol& tol = OdGeContext::gTol) const;
262 
263  // Assignment operator
265 
267  // TD Special :
268 
275  bool isOuterNormal);
276 
277 };
278 
279 #include "TD_PackPop.h"
280 
281 #endif // OD_GECYLNDR_H
OdGeSurface
Definition: GeSurface.h:48
OdGeVector3d
Definition: GeVector3d.h:54
OdGeCylinder::OdGeCylinder
OdGeCylinder(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
OdGeCylinder::set
OdGeCylinder & set(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
tol
tol
Definition: DimVarDefs.h:2287
OdGeCylinder::isClosed
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
GeSurface.h
OdGeCylinder::radius
double radius() const
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
OdGeCylinder::heightAt
double heightAt(double u) const
OdGeCylinder::OdGeCylinder
OdGeCylinder(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
TD_PackPop.h
OdGeCylinder
Definition: GeCylinder.h:78
OdGeCylinder::setIsOuterNormal
void setIsOuterNormal(bool isOuterNormal)
OdGeCylinder::origin
OdGePoint3d origin() const
OdGeCylinder::isOuterNormal
bool isOuterNormal() const
GeInterval.h
OdGeCylinder::refAxis
OdGeVector3d refAxis() const
OdGePoint3d
Definition: GePoint3d.h:55
OdGeCylinder::setAngles
OdGeCylinder & setAngles(double startAng, double endAng)
OdGeCylinder::OdGeCylinder
OdGeCylinder()
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
TD_PackPush.h
OdGeCylinder::OdGeCylinder
OdGeCylinder(const OdGeCylinder &)
OdGeCylinder::set
OdGeCylinder & set(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSym)
OdGeCylinder::setHeight
OdGeCylinder & setHeight(const OdGeInterval &height)
OdGeCylinder::axisOfSymmetry
OdGeVector3d axisOfSymmetry() 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
OdGeCylinder::getHeight
void getHeight(OdGeInterval &height) const
OdGeTol
Definition: GeTol.h:49
OdGeCylinder::getAngles
void getAngles(double &startAng, double &endAng) const
OdGeCircArc3d
Definition: GeCircArc3d.h:48
OdGeCylinder::intersectWith
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCylinder::setRadius
OdGeCylinder & setRadius(double radius)