CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeCylinder.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
31class OdGeCircArc3d;
32
33#include "TD_PackPush.h"
34
84{
85public:
86
92
101 double radius,
102 const OdGePoint3d& origin,
103 const OdGeVector3d& axisOfSymmetry);
104
120 double radius,
121 const OdGePoint3d& origin,
122 const OdGeVector3d& axisOfSymmetry,
123 const OdGeVector3d& refAxis,
124 const OdGeInterval& height,
125 double startAng,
126 double endAng);
127
133 OdGeCylinder(const OdGeCylinder& cylinder);
134
141 double radius() const;
142
150
161 double& startAng,
162 double& endAng) const;
163
170 OdGeInterval& height) const;
171
185 double heightAt(
186 double u) const;
187
195
203
215 bool isOuterNormal() const;
216
228 const OdGeTol& tol = OdGeContext::gTol) const;
229
239 double radius);
240
254 double startAng,
255 double endAng);
256
266 const OdGeInterval& height);
267
280 double radius,
281 const OdGePoint3d& origin,
282 const OdGeVector3d& axisOfSym);
283
303 double radius,
304 const OdGePoint3d& origin,
305 const OdGeVector3d& axisOfSymmetry,
306 const OdGeVector3d& refAxis,
307 const OdGeInterval& height,
308 double startAng,
309 double endAng);
310
331 const OdGeLinearEnt3d& linEnt,
332 int& numInt,
333 OdGePoint3d& p1,
334 OdGePoint3d& p2,
335 const OdGeTol& tol = OdGeContext::gTol) const;
336
346
348 // TD Special :
349
359 bool isOuterNormal);
360
367 double getUParamScale() const;
368
379 double uScale = 0.0);
380};
381
382#include "TD_PackPop.h"
383
384#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
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)
Definition: GeTol.h:49
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65