0024023: Revamp the OCCT Handle -- StepToGeom
authorabv <abv@opencascade.com>
Fri, 3 Jul 2015 08:24:43 +0000 (11:24 +0300)
committerabv <abv@opencascade.com>
Sun, 12 Jul 2015 09:30:39 +0000 (12:30 +0300)
commitcaaeed1b9103e35bd8b0a4e18bc40e2c0db73db0
treeb7349a821a866592ccd411b33d7f8b22ed4bc17d
parente8862cf41a310e818707ab36a351363dba480d31
0024023: Revamp the OCCT Handle -- StepToGeom

StepToGeom package refactored to avoid C-style casts of handles to derived types.

Instead of 45 classes, each defining single static method, it now defines 45 static methods in the main package class.
Results of conversion are returned in normal way rather than via function parameter.

Conflicts:
src/StepToGeom/StepToGeom_MakeSurfaceOfRevolution.cxx
109 files changed:
src/QABugs/QABugs_19.cxx [changed mode: 0755->0644]
src/STEPControl/STEPControl_ActorRead.cxx
src/StepToGeom/FILES
src/StepToGeom/StepToGeom.cxx [new file with mode: 0644]
src/StepToGeom/StepToGeom.hxx [new file with mode: 0644]
src/StepToGeom/StepToGeom_MakeAxis1Placement.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeAxis1Placement.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeAxis2Placement.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeAxis2Placement.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeAxisPlacement.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeAxisPlacement.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineCurve.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineCurve.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineCurve.pxx
src/StepToGeom/StepToGeom_MakeBSplineCurve2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineCurve2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBSplineSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedCurve.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedCurve.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedCurve2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedCurve2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeBoundedSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCartesianPoint.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCartesianPoint.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCartesianPoint2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCartesianPoint2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCircle.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCircle.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCircle2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCircle2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeConic.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeConic.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeConic2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeConic2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeConicalSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeConicalSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCurve.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCurve.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCurve2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCurve2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeCylindricalSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeCylindricalSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeDirection.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeDirection.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeDirection2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeDirection2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeElementarySurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeElementarySurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeEllipse.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeEllipse.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeEllipse2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeEllipse2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeHyperbola.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeHyperbola.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeHyperbola2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeHyperbola2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeLine.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeLine.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeLine2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeLine2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeParabola.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeParabola.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeParabola2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeParabola2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakePlane.cxx [deleted file]
src/StepToGeom/StepToGeom_MakePlane.hxx [deleted file]
src/StepToGeom/StepToGeom_MakePolyline.cxx [deleted file]
src/StepToGeom/StepToGeom_MakePolyline.hxx [deleted file]
src/StepToGeom/StepToGeom_MakePolyline2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakePolyline2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeRectangularTrimmedSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeRectangularTrimmedSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeSphericalSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeSphericalSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurfaceOfLinearExtrusion.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurfaceOfLinearExtrusion.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurfaceOfRevolution.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeSurfaceOfRevolution.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeSweptSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeSweptSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeToroidalSurface.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeToroidalSurface.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeTransformation2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeTransformation2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeTransformation3d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeTransformation3d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeTrimmedCurve.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeTrimmedCurve.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeTrimmedCurve2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeTrimmedCurve2d.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeVectorWithMagnitude.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeVectorWithMagnitude.hxx [deleted file]
src/StepToGeom/StepToGeom_MakeVectorWithMagnitude2d.cxx [deleted file]
src/StepToGeom/StepToGeom_MakeVectorWithMagnitude2d.hxx [deleted file]
src/StepToGeom/StepToGeom_Root.cxx [deleted file]
src/StepToGeom/StepToGeom_Root.hxx [deleted file]
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_MakeTransformed.cxx
src/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.cxx
src/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx
src/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx