CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbLoftOptions.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
25#ifndef _DbLoftOptions_h_Included_
26#define _DbLoftOptions_h_Included_
27
28#include "TD_PackPush.h"
29#include "DbEntity.h"
31
32class OdDbLoftOptionsImpl;
33
41{
42public:
47
52
57
63 OdDbLoftOptions& operator = (const OdDbLoftOptions& rhs);
64
71 bool operator == (const OdDbLoftOptions& opt) const;
72
91
97 double draftStart() const;
98
106 void setDraftStart(double angle);
107
113 double draftEnd() const;
114
122 void setDraftEnd(double angle);
123
129 double draftStartMag() const;
130
138 void setDraftStartMag(double startMag);
139
146 double draftEndMag() const;
147
156 void setDraftEndMag(double val);
157
161 bool arcLengthParam() const;
162
168 void setArcLengthParam(bool alParam);
169
175 bool noTwist() const;
176
184 void setNoTwist(bool noTwist);
185
193 bool alignDirection() const;
194
204 void setAlignDirection(bool alignDir);
205
212 bool simplify() const;
213
224
230 bool periodic() const;
231
240
251 bool closed() const;
252
265 void setClosed(bool closed);
266
274 bool ruled() const;
275
285 void setRuled(bool ruled);
286
290 bool virtualGuide() const;
291
297 void setVirtualGuide(bool virtGuide);
298
305
313
322
331
339 OdResult checkOptions(bool displayErrorMessages = false);
340
359 OdDbEntityPtrArray& crossSectionCurves,
360 OdDbEntityPtrArray& guideCurves,
361 OdDbEntity* pPathCurve,
362 bool& allOpen,
363 bool& allClosed,
364 bool& allPlanar,
365 bool displayErrorMessages = false);
366
382 OdDbEntityPtrArray& crossSectionCurves,
383 bool& allOpen,
384 bool& allClosed,
385 bool& allPlanar,
386 bool displayErrorMessages = false);
387
401 bool displayErrorMessages = false);
402
415 bool displayErrorMessages = false);
416
417
418private:
420 OdDbLoftOptionsImpl *m_pImpl;
421};
422
423#include "TD_PackPop.h"
424#endif // _DbLoftOptions_h_Included_
OdArray< OdDbEntityPtr > OdDbEntityPtrArray
Definition DbEntity.h:56
#define DBENT_EXPORT
Definition DbExport.h:67
bool operator==(T left, const OdGiVariant::EnumType right)
Definition GiVariant.h:399
OdResult
Definition OdResult.h:29
OdResult checkLoftCurves(OdDbEntityPtrArray &crossSectionCurves, OdDbEntityPtrArray &guideCurves, OdDbEntity *pPathCurve, bool &allOpen, bool &allClosed, bool &allPlanar, bool displayErrorMessages=false)
void setNoTwist(bool noTwist)
double draftStart() const
friend class OdDbLoftOptionsImpl
void setClosed(bool closed)
OdResult checkOptions(bool displayErrorMessages=false)
void setDraftStartMag(double startMag)
void setSimplify(bool simplify)
OdResult checkCrossSectionCurves(OdDbEntityPtrArray &crossSectionCurves, bool &allOpen, bool &allClosed, bool &allPlanar, bool displayErrorMessages=false)
OdDbLoftOptions::NormalOption normal() const
void setDraftEndMag(double val)
void setRuled(bool ruled)
void setPeriodic(bool periodic)
bool arcLengthParam() const
bool ruled() const
void setVirtualGuide(bool virtGuide)
double draftStartMag() const
OdResult setSysvarsFromOptions(OdDbDatabase &pDb)
void setAlignDirection(bool alignDir)
OdResult setOptionsFromSysvars(const OdDbDatabase &pDb)
OdResult checkPathCurve(OdDbEntity *pPathCurve, bool displayErrorMessages=false)
double draftEndMag() const
bool periodic() const
void setDraftEnd(double angle)
bool noTwist() const
void setArcLengthParam(bool alParam)
bool simplify() const
double draftEnd() const
bool closed() const
bool alignDirection() const
bool virtualGuide() const
OdDbLoftOptions(const OdDbLoftOptions &src)
OdResult checkGuideCurves(OdDbEntityPtrArray &guideCurves, bool displayErrorMessages=false)
void setNormal(OdDbLoftOptions::NormalOption option)
void setDraftStart(double angle)