CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeCone.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_GECONE_H
25#define OD_GECONE_H
27#include "OdPlatformSettings.h"
28#include "Ge/GeSurface.h"
29#include "Ge/GeInterval.h"
30
31class OdGePoint3d;
32class OdGeVector3d;
33class OdGeCircArc3d;
34class OdGeLinearEnt3d;
35
36#include "TD_PackPush.h"
37
108{
109public:
118
129 double cosineAngle,
130 double sineAngle,
131 const OdGePoint3d& baseOrigin,
132 double baseRadius,
133 const OdGeVector3d& axisOfSymmetry);
134
152 double cosineAngle,
153 double sineAngle,
154 const OdGePoint3d& baseOrigin,
155 double baseRadius,
156 const OdGeVector3d& axisOfSymmetry,
157 const OdGeVector3d& refAxis,
158 const OdGeInterval& height,
159 double startAng,
160 double endAng);
161
167 OdGeCone(const OdGeCone& cone);
168
175 double baseRadius() const;
176
184
195 double& startAng,
196 double& endAng) const;
197
208 double halfAngle() const;
209
220 double& cosineAngle,
221 double& sineAngle) const;
222
233 double& cosineAngle,
234 double& sineAngle) const;
235
242 OdGeInterval& height) const;
243
258 double heightAt(
259 double u) const;
260
268
276
284
296 const OdGeTol& tol = OdGeContext::gTol) const;
297
306 bool isOuterNormal() const;
307
317 double baseRadius);
318
332 double startAng,
333 double endAng);
334
344 const OdGeInterval& height);
345
352 double getPoleParam() const;
353
371 double cosineAngle,
372 double sineAngle,
373 const OdGePoint3d& baseCenter,
374 double baseRadius,
375 const OdGeVector3d& axisOfSymmetry);
376
398 double cosineAngle,
399 double sineAngle,
400 const OdGePoint3d& baseCenter,
401 double baseRadius,
402 const OdGeVector3d& axisOfSymmetry,
403 const OdGeVector3d& refAxis,
404 const OdGeInterval& height,
405 double startAng,
406 double endAng);
407
417
438 const OdGeLinearEnt3d& linEnt,
439 int& numInt,
440 OdGePoint3d& p1,
441 OdGePoint3d& p2,
442 const OdGeTol& tol = OdGeContext::gTol) const;
443
450 double getUParamScale() const;
451
462 double uScale = 0.0);
463};
464
465#include "TD_PackPop.h"
466
467#endif // OD_GECONE_H
468
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
void getHalfAngle(double &cosineAngle, double &sineAngle) const
OdGeCone & setHeight(const OdGeInterval &height)
bool intersectWith(const OdGeLinearEnt3d &linEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
double baseRadius() const
double heightAt(double u) const
OdGeCone & setAngles(double startAng, double endAng)
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &baseCenter, double baseRadius, const OdGeVector3d &axisOfSymmetry)
OdGeCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double baseRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
OdGeVector3d refAxis() const
OdGeVector3d axisOfSymmetry() const
OdGeCone & set(double cosineAngle, double sineAngle, const OdGePoint3d &baseCenter, double baseRadius, const OdGeVector3d &axisOfSymmetry, const OdGeVector3d &refAxis, const OdGeInterval &height, double startAng, double endAng)
void getHeight(OdGeInterval &height) const
OdGeCone(const OdGeCone &cone)
void setUParamScale(double uScale=0.0)
OdGeCone & setBaseRadius(double baseRadius)
double getPoleParam() const
OdGePoint3d apex() const
OdGePoint3d baseCenter() const
double halfAngle() const
bool isOuterNormal() const
double getUParamScale() const
void getHalfAngleSigned(double &cosineAngle, double &sineAngle) const
OdGeCone(double cosineAngle, double sineAngle, const OdGePoint3d &baseOrigin, double baseRadius, const OdGeVector3d &axisOfSymmetry)
void getAngles(double &startAng, double &endAng) 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