mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -124,7 +124,7 @@ inline const Handle(Adaptor3d_HVertex)& IntPatch_Point::VertexOnS1 () const
|
||||
}
|
||||
|
||||
|
||||
inline const Handle(Adaptor2d_HCurve2d)& IntPatch_Point::ArcOnS1 () const
|
||||
inline const Handle(Adaptor2d_Curve2d)& IntPatch_Point::ArcOnS1 () const
|
||||
{
|
||||
if (!onS1) {throw Standard_DomainError();}
|
||||
return arcS1;
|
||||
@@ -171,7 +171,7 @@ inline const Handle(Adaptor3d_HVertex)& IntPatch_Point::VertexOnS2 () const
|
||||
}
|
||||
|
||||
|
||||
inline const Handle(Adaptor2d_HCurve2d)& IntPatch_Point::ArcOnS2 () const
|
||||
inline const Handle(Adaptor2d_Curve2d)& IntPatch_Point::ArcOnS2 () const
|
||||
{
|
||||
if (!onS2) {throw Standard_DomainError();}
|
||||
return arcS2;
|
||||
|
Reference in New Issue
Block a user