CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeCylinder.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 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
26
27#include "OdPlatformSettings.h"
28#include "Ge/GeSurface.h"
29#include "Ge/GeInterval.h"
30
31class OdGeCircArc3d;
32
33#include "TD_PackPush.h"
34
84{
85public:
87
93
102 double radius,
103 const OdGePoint3d& origin,
105
121 double radius,
122 const OdGePoint3d& origin,
124 const OdGeVector3d& refAxis,
125 const OdGeInterval& height,
126 double startAng,
127 double endAng);
128
134 OdGeCylinder(const OdGeCylinder& cylinder);
135
142 double radius() const;
143
151
162 double& startAng,
163 double& endAng) const;
164
171 OdGeInterval& height) const;
172
186 double heightAt(
187 double u) const;
188
196
204
216 bool isOuterNormal() const;
217
229 const OdGeTol& tol = OdGeContext::gTol) const;
230
240 double radius);
241
255 double startAng,
256 double endAng);
257
267 const OdGeInterval& height);
268
281 double radius,
282 const OdGePoint3d& origin,
283 const OdGeVector3d& axisOfSym);
284
304 double radius,
305 const OdGePoint3d& origin,
307 const OdGeVector3d& refAxis,
308 const OdGeInterval& height,
309 double startAng,
310 double endAng);
311
332 const OdGeLinearEnt3d& linEnt,
333 int& numInt,
334 OdGePoint3d& p1,
335 OdGePoint3d& p2,
336 const OdGeTol& tol = OdGeContext::gTol) const;
337
347
349 // TD Special :
350
360 bool isOuterNormal);
361
368 double getUParamScale() const;
369
380 double uScale = 0.0);
381};
382
383#include "TD_PackPop.h"
384
385#endif // OD_GECYLNDR_H
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
OdGePoint3d origin() const
GE_OPERATORS_OVERRIDE_3D(OdGeCylinder)
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d axisOfSymmetry() const
OdGeVector3d refAxis() const
OdGeCylinder & set(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSym)
OdGeCylinder(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
void getAngles(double &startAng, double &endAng) const
void setIsOuterNormal(bool isOuterNormal)
bool isOuterNormal() const
double radius() const
OdGeCylinder & set(double radius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeCylinder(const OdGeCylinder &cylinder)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeCylinder & setRadius(double radius)
OdGeCylinder & setHeight(const OdGeInterval &height)
void setUParamScale(double uScale=0.0)
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)
double getUParamScale() const
OdGeSurface & operator=(const OdGeSurface &surf)
GLint GLenum GLsizei GLsizei height
Definition gles2_ext.h:110
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67