]> OCCT Git - occt.git/commit
Coding - Add conversion utilities for STEP geometrical and visual enumerations (...
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Wed, 25 Jun 2025 10:40:51 +0000 (11:40 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Jun 2025 10:40:51 +0000 (11:40 +0100)
commited7a447177c18a63db93d2bcbde7b7b6f1f26205
treee7dd24cc2cf2aab44050507427882417188f7862
parentdfb331296c2b561a1abff868acda47ac1713297f
Coding - Add conversion utilities for STEP geometrical and visual enumerations (#545)

- Introduced RWStepGeom_RWTransitionCode for converting StepGeom_TransitionCode to/from string representations.
- Refactored RWStepGeom_RWTrimmedCurve to utilize RWStepGeom_RWTrimmingPreference for trimming preference conversions.
- Created RWStepGeom_RWTrimmingPreference for handling StepGeom_TrimmingPreference enumerations.
- Updated RWStepGeom_RWUniformCurve and related classes to use RWStepGeom_RWBSplineCurveForm for B-spline curve form conversions.
- Added RWStepGeom_RWUniformSurface and related classes to use RWStepGeom_RWBSplineSurfaceForm for B-spline surface form conversions.
- Implemented RWStepShape_RWBooleanOperator for boolean operator conversions in STEP shapes.
- Refactored RWStepShape_RWBooleanResult to utilize RWStepShape_RWBooleanOperator for boolean operator handling.
- Introduced RWStepVisual_RWCentralOrParallel for central or parallel projection type conversions.
- Added RWStepVisual_RWSurfaceSide for surface side enumeration conversions.
- Updated RWStepVisual_RWSurfaceStyleUsage to use RWStepVisual_RWSurfaceSide for handling surface side.
- Created RWStepVisual_RWTextPath for text path enumeration conversions.
- Refactored RWStepVisual_RWTextLiteral to utilize RWStepVisual_RWTextPath for text path handling.
- Updated RWStepVisual_RWViewVolume to use RWStepVisual_RWCentralOrParallel for projection type conversions.
63 files changed:
src/DataExchange/TKDESTEP/RWStepBasic/FILES.cmake
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAheadOrBehind.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCoordinatedUniversalTimeOffset.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiPrefix.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.pxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitName.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSource.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/FILES.cmake
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveForm.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnots.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceForm.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnots.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveSegment.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWIntersectionCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWKnotType.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPreferredSurfaceCurveRepresentation.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWReparametrisedCompositeCurveSegment.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSeamCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfacePatch.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTransitionCode.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmedCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmingPreference.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurface.cxx
src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx
src/DataExchange/TKDESTEP/RWStepShape/FILES.cmake
src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanOperator.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanResult.cxx
src/DataExchange/TKDESTEP/RWStepVisual/FILES.cmake
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCentralOrParallel.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceSide.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleUsage.cxx
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextLiteral.cxx
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextPath.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWViewVolume.cxx