mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026252: GeomAdaptor_Surface should use inner adaptor to calculate values of complex surfaces
* Implement GeomEvaluator package * Inject evaluators to GeomAdaptor_Surface to calculate values of complex surfaces * Inject evaluators to Geom_Surface classes to calculate values for offset surfaces, surfaces of revolution and surfaces of extrusion * Move Adaptor3d_SurfaceOfLinearExtrusion and Adaptor3d_SurfaceOfRevolution to GeomAdaptor and unify calculation of their values and derivatives * Code optimizations * Update test cases Update of test-cases according to the new behavior
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
#include <Adaptor3d_CurveOnSurface.hxx>
|
||||
#include <Adaptor3d_HCurveOnSurface.hxx>
|
||||
#include <Adaptor3d_SurfaceOfLinearExtrusion.hxx>
|
||||
#include <GeomAdaptor_SurfaceOfLinearExtrusion.hxx>
|
||||
#include <Approx_CurveOnSurface.hxx>
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
@@ -630,7 +630,7 @@ Standard_Boolean Draft_Modification::Propagate ()
|
||||
errStat = Draft_EdgeRecomputation;
|
||||
break; // leave from while
|
||||
}
|
||||
Adaptor3d_SurfaceOfLinearExtrusion SLE(HCur,Direc);
|
||||
GeomAdaptor_SurfaceOfLinearExtrusion SLE(HCur,Direc);
|
||||
switch(SLE.GetType()){
|
||||
|
||||
case GeomAbs_Plane :
|
||||
|
Reference in New Issue
Block a user