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