@@ -365,22 +365,22 @@ namespace ifcopenshell {
365365 static constexpr bool defaultvalue = false ;
366366 };
367367
368- enum PiecewiseStepMethod {
368+ enum FunctionStepMethod {
369369 MAXSTEPSIZE,
370370 MINSTEPS };
371371
372- std::istream& operator >>(std::istream& in, PiecewiseStepMethod & ioo);
372+ std::istream& operator >>(std::istream& in, FunctionStepMethod & ioo);
373373
374- struct PiecewiseStepType : public SettingBase <PiecewiseStepType, PiecewiseStepMethod > {
375- static constexpr const char * const name = " piecewise -step-type" ;
376- static constexpr const char * const description = " Indicates the method used for defining step size when evaluating piecewise curves. Provides interpretation of piecewise -step-param" ;
377- static constexpr PiecewiseStepMethod defaultvalue = MAXSTEPSIZE;
374+ struct FunctionStepType : public SettingBase <FunctionStepType, FunctionStepMethod > {
375+ static constexpr const char * const name = " function -step-type" ;
376+ static constexpr const char * const description = " Indicates the method used for defining step size when evaluating function-based curves. Provides interpretation of function -step-param" ;
377+ static constexpr FunctionStepMethod defaultvalue = MAXSTEPSIZE;
378378 };
379379
380- struct PiecewiseStepParam : public SettingBase <PiecewiseStepParam , double > {
381- static constexpr const char * const name = " piecewise -step-param" ;
382- static constexpr const char * const description = " Indicates the parameter value for defining step size when evaluating piecewise curves." ;
383- static constexpr double defaultvalue = 0.5 ; // ceiling of this value is used when PiecewiseStepMethod is MinSteps
380+ struct FunctionStepParam : public SettingBase <FunctionStepParam , double > {
381+ static constexpr const char * const name = " function -step-param" ;
382+ static constexpr const char * const description = " Indicates the parameter value for defining step size when evaluating function-based curves." ;
383+ static constexpr double defaultvalue = 0.5 ; // ceiling of this value is used when FunctionStepMethod is MinSteps
384384 };
385385
386386 struct ModelOffset : public SettingBase <ModelOffset, std::vector<double >> {
@@ -413,7 +413,7 @@ namespace ifcopenshell {
413413 template <typename settings_t >
414414 class IFC_GEOM_API SettingsContainer {
415415 public:
416- typedef boost::variant<bool , int , double , std::string, std::set<int >, std::set<std::string>, std::vector<double >, IteratorOutputOptions, PiecewiseStepMethod , OutputDimensionalityTypes, TriangulationMethod> value_variant_t ;
416+ typedef boost::variant<bool , int , double , std::string, std::set<int >, std::set<std::string>, std::vector<double >, IteratorOutputOptions, FunctionStepMethod , OutputDimensionalityTypes, TriangulationMethod> value_variant_t ;
417417 private:
418418 settings_t settings;
419419
@@ -500,7 +500,7 @@ namespace ifcopenshell {
500500 };
501501
502502 class IFC_GEOM_API Settings : public SettingsContainer<
503- std::tuple<MesherLinearDeflection, MesherAngularDeflection, ReorientShells, LengthUnit, PlaneUnit, Precision, OutputDimensionality, LayersetFirst, DisableBooleanResult, NoWireIntersectionCheck, NoWireIntersectionTolerance, PrecisionFactor, DebugBooleanOperations, BooleanAttempt2d, SurfaceColour, WeldVertices, UseWorldCoords, UnifyShapes, UseMaterialNames, ConvertBackUnits, ContextIds, ContextTypes, ContextIdentifiers, IteratorOutput, DisableOpeningSubtractions, ApplyDefaultMaterials, DontEmitNormals, GenerateUvs, ApplyLayerSets, UseElementHierarchy, ValidateQuantities, EdgeArrows, BuildingLocalPlacement, SiteLocalPlacement, ForceSpaceTransparency, CircleSegments, KeepBoundingBoxes, PiecewiseStepType, PiecewiseStepParam , NoParallelMapping, ModelOffset, ModelRotation, TriangulationType>
503+ std::tuple<MesherLinearDeflection, MesherAngularDeflection, ReorientShells, LengthUnit, PlaneUnit, Precision, OutputDimensionality, LayersetFirst, DisableBooleanResult, NoWireIntersectionCheck, NoWireIntersectionTolerance, PrecisionFactor, DebugBooleanOperations, BooleanAttempt2d, SurfaceColour, WeldVertices, UseWorldCoords, UnifyShapes, UseMaterialNames, ConvertBackUnits, ContextIds, ContextTypes, ContextIdentifiers, IteratorOutput, DisableOpeningSubtractions, ApplyDefaultMaterials, DontEmitNormals, GenerateUvs, ApplyLayerSets, UseElementHierarchy, ValidateQuantities, EdgeArrows, BuildingLocalPlacement, SiteLocalPlacement, ForceSpaceTransparency, CircleSegments, KeepBoundingBoxes, FunctionStepType, FunctionStepParam , NoParallelMapping, ModelOffset, ModelRotation, TriangulationType>
504504 >
505505 {};
506506}
0 commit comments