CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeEllipCone.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_GEELLIPCONE_H
26#define OD_GEELLIPCONE_H
28#include "Ge/GeSurface.h"
29#include "Ge/GeInterval.h"
30#include "OdPlatformSettings.h"
31
32class OdGePoint3d;
33class OdGeVector3d;
34class OdGeCircArc3d;
35class OdGeLinearEnt3d;
36
37#include "TD_PackPush.h"
38
119{
120public:
121
127
141 double cosineAngle,
142 double sineAngle,
143 const OdGePoint3d& origin,
144 double minorRadius,
145 double majorRadius,
146 const OdGeVector3d& axisOfSymmetry);
147
168 double cosineAngle,
169 double sineAngle,
170 const OdGePoint3d& baseOrigin,
171 double minorRadius,
172 double majorRadius,
173 const OdGeVector3d& axisOfSymmetry,
174 const OdGeVector3d& majorAxis,
175 const OdGeInterval& height,
176 double startAng,
177 double endAng);
178
185
192 double radiusRatio() const;
193
200 double minorRadius() const;
201
208 double majorRadius() const;
209
217
228 double& startAng,
229 double& endAng) const;
230
237 double halfAngle() const;
238
249 double& cosineAngle,
250 double& sineAngle) const;
251
258 OdGeInterval& height) const;
259
274 double heightAt(
275 double u) const;
276
284
292
300
308
320 const OdGeTol& tol = OdGeContext::gTol) const;
321
330 bool isOuterNormal() const;
331
341 double minorRadius);
342
352 double majorRadius);
353
354
365 double startAng,
366 double endAng);
367
377 const OdGeInterval& height);
378
385 double getPoleParam() const;
386
406 const OdGeLinearEnt3d& linEnt,
407 int& numInt,
408 OdGePoint3d& p1,
409 OdGePoint3d& p2,
410 const OdGeTol& tol = OdGeContext::gTol) const;
411
432 double cosineAngle,
433 double sineAngle,
434 const OdGePoint3d& center,
435 double minorRadius,
436 double majorRadius,
437 const OdGeVector3d& axisOfSymmetry);
438
463 double cosineAngle,
464 double sineAngle,
465 const OdGePoint3d& center,
466 double minorRadius,
467 double majorRadius,
468 const OdGeVector3d& axisOfSymmetry,
469 const OdGeVector3d& majorAxis,
470 const OdGeInterval& height,
471 double startAng,
472 double endAng);
473
483
490 double getUParamScale() const;
491
502 double uScale = 0.0);
503};
504
505#include "TD_PackPop.h"
506
507#endif // OD_GEELLIPCONE_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
void setUParamScale(double uScale=0.0)
OdGePoint3d apex() const
OdGeEllipCone(const OdGeEllipCone &cone)
OdGeVector3d majorAxis() const
OdGeEllipCone & setAngles(double startAng, double endAng)
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
double getUParamScale() const
OdGeVector3d minorAxis() const
double halfAngle() const
OdGeEllipCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeEllipCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &center, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &majorAxis, const OdGeInterval &height, double startAng, double endAng)
double majorRadius() const
OdGeVector3d axisOfSymmetry() const
void getHeight(OdGeInterval &height) const
double radiusRatio() const
OdGeEllipCone & setMinorRadius(double minorRadius)
void getAngles(double &startAng, double &endAng) const
OdGePoint3d baseCenter() const
bool isOuterNormal() const
void getHalfAngle(double &cosineAngle, double &sineAngle) const
double heightAt(double u) const
double getPoleParam() const
double minorRadius() const
OdGeEllipCone(double cosineAngle, double sineAngle, const OdGePoint3d &origin, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeEllipCone & setMajorRadius(double majorRadius)
OdGeEllipCone & setHeight(const OdGeInterval &height)
OdGeEllipCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &center, double minorRadius, double majorRadius, const OdGeVector3d &axisOfSymmetry)
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