CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeEllipCylinder.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
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
32class OdGeCircArc3d;
33
34#include "TD_PackPush.h"
35
95{
96public:
97
98
104
114 double minorRadius,
115 double majorRadius,
116 const OdGePoint3d& origin,
117 const OdGeVector3d& axisOfSymmetry);
118
135 double minorRadius,
136 double majorRadius,
137 const OdGePoint3d& origin,
138 const OdGeVector3d& axisOfSymmetry,
139 const OdGeVector3d& majorAxis,
140 const OdGeInterval& height,
141 double startAng,
142 double endAng);
143
150
151 // Geometric properties.
152 //
153
160 double radiusRatio() const;
161
168 double minorRadius() const;
169
176 double majorRadius() const;
177
185
196 double& startAng,
197 double& endAng) const;
198
205 OdGeInterval& height) const;
206
220 double heightAt(
221 double u) const;
222
230
238
246
255 bool isOuterNormal() const;
256
268 const OdGeTol& tol = OdGeContext::gTol) const;
269
276 bool isOuterNormal);
277
287 double minorRadius);
288
302 double majorRadius);
303
317 double startAng,
318 double endAng);
319
329 const OdGeInterval& height);
330
343 double minorRadius,
344 double majorRadius,
345 const OdGePoint3d& origin,
346 const OdGeVector3d& axisOfSymmetry);
347
367 double minorRadius,
368 double majorRadius,
369 const OdGePoint3d& origin,
370 const OdGeVector3d& axisOfSymmetry,
371 const OdGeVector3d& majorAxis,
372 const OdGeInterval& height,
373 double startAng,
374 double endAng);
375
395 const OdGeLinearEnt3d& linEnt,
396 int& numInt,
397 OdGePoint3d& p1,
398 OdGePoint3d& p2,
399 const OdGeTol& tol = OdGeContext::gTol) const;
400
410
417 double getUParamScale() const;
418
429 double uScale = 0.0);
430};
431
432
433
434#include "TD_PackPop.h"
435
436#endif // OD_GEELLIPCYLNDR_H
437// AE - End
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
void getAngles(double &startAng, double &endAng) const
OdGeVector3d minorAxis() const
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
double majorRadius() const
OdGeEllipCylinder(const OdGeEllipCylinder &cylinder)
void setIsOuterNormal(bool isOuterNormal)
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint3d origin() const
double radiusRatio() const
OdGeVector3d majorAxis() const
OdGeEllipCylinder & set(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
double heightAt(double u) const
double getUParamScale() const
void getHeight(OdGeInterval &height) const
OdGeEllipCylinder & setAngles(double startAng, double endAng)
void setUParamScale(double uScale=0.0)
bool isOuterNormal() const
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeEllipCylinder & setMinorRadius(double minorRadius)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCylinder & setHeight(const OdGeInterval &height)
OdGeEllipCylinder(double minorRadius, double majorRadius, const OdGePoint3d &origin, const OdGeVector3d &axisOfSymmetry)
OdGeEllipCylinder & setMajorRadius(double majorRadius)
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:65