mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0028966: Coding Rules - remove Adaptor2d_HCurve2d, Adaptor3d_HCurve and Adaptor3d_HSurface classes
Adaptor2d_Curve2d, Adaptor3d_Curve and Adaptor3d_Surface now inherit Standard_Transient. Interfaces Adaptor2d_HCurve2d, Adaptor3d_HCurve, Adaptor3d_HSurface and their subclasses are now aliases to Adaptor2d_Curve2d, Adaptor3d_Curve and Adaptor3d_Surface. Removed numerous unsafe reinterpret casts. Generic classes Adaptor3d_GenHCurve, Adaptor3d_GenHSurface, Adaptor2d_GenHCurve2d have been removed. Several redundant .lxx files have been merged into .hxx. Removed obsolete adaptor classes with H suffix.
This commit is contained in:
@@ -67,12 +67,12 @@ public:
|
||||
//! Handle(Geom_Surface) mySurface = ... ;
|
||||
//! Handle(Geom2d_Curve) myParamCurve = ... ;
|
||||
//! // where myParamCurve is a 2D curve in the parametric space of the surface mySurface
|
||||
//! Handle(GeomAdaptor_HSurface)
|
||||
//! Handle(GeomAdaptor_Surface)
|
||||
//! Surface = new
|
||||
//! GeomAdaptor_HSurface(mySurface);
|
||||
//! Handle(Geom2dAdaptor_HCurve)
|
||||
//! GeomAdaptor_Surface(mySurface);
|
||||
//! Handle(Geom2dAdaptor_Curve)
|
||||
//! ParamCurve = new
|
||||
//! Geom2dAdaptor_HCurve(myParamCurve);
|
||||
//! Geom2dAdaptor_Curve(myParamCurve);
|
||||
//! CurveOnSurf = Adaptor3d_CurveOnSurface(ParamCurve,Surface);
|
||||
//! The boundary is then constructed with the CurveOnSurf object:
|
||||
//! Standard_Real Tol = ... ;
|
||||
|
Reference in New Issue
Block a user