CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeCone.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_GECONE_H
25#define OD_GECONE_H
26
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:
111
120
131 double cosineAngle,
132 double sineAngle,
133 const OdGePoint3d& baseOrigin,
134 double baseRadius,
136
154 double cosineAngle,
155 double sineAngle,
156 const OdGePoint3d& baseOrigin,
157 double baseRadius,
159 const OdGeVector3d& refAxis,
160 const OdGeInterval& height,
161 double startAng,
162 double endAng);
163
169 OdGeCone(const OdGeCone& cone);
170
177 double baseRadius() const;
178
186
197 double& startAng,
198 double& endAng) const;
199
210 double halfAngle() const;
211
222 double& cosineAngle,
223 double& sineAngle) const;
224
235 double& cosineAngle,
236 double& sineAngle) const;
237
244 OdGeInterval& height) const;
245
260 double heightAt(
261 double u) const;
262
270
278
286
298 const OdGeTol& tol = OdGeContext::gTol) const;
299
308 bool isOuterNormal() const;
309
319 double baseRadius);
320
334 double startAng,
335 double endAng);
336
346 const OdGeInterval& height);
347
354 double getPoleParam() const;
355
373 double cosineAngle,
374 double sineAngle,
375 const OdGePoint3d& baseCenter,
376 double baseRadius,
378
400 double cosineAngle,
401 double sineAngle,
402 const OdGePoint3d& baseCenter,
403 double baseRadius,
405 const OdGeVector3d& refAxis,
406 const OdGeInterval& height,
407 double startAng,
408 double endAng);
409
419
440 const OdGeLinearEnt3d& linEnt,
441 int& numInt,
442 OdGePoint3d& p1,
443 OdGePoint3d& p2,
444 const OdGeTol& tol = OdGeContext::gTol) const;
445
452 double getUParamScale() const;
453
464 double uScale = 0.0);
465};
466
467#include "TD_PackPop.h"
468
469#endif // OD_GECONE_H
470
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
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)
GE_OPERATORS_OVERRIDE_3D(OdGeCone)
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)
GLint GLenum GLsizei GLsizei height
Definition gles2_ext.h:110
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67