mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024023: Revamp the OCCT Handle -- general
Missing headers added; includes of headers "Handle_...hxx" removed. Misuses of macro Handle() and its use in typedefs corrected. Alias classes Profile and Option are removed from IFSelect; ones defined in MoniTool are used directly. Removed header files defining only Handle classes (except Image_PixMap_Handle.hxx) Classes SelectMgr_BaseFrustum and now inherit Standard_Transient and can be manipulated by Handle (not NCollection_Handle) Fixed reference-type local variable pointing to temporary object Use of handle in conditional expressions and comparisons to NULL are replaced by call to method IsNull()
This commit is contained in:
@@ -22,13 +22,14 @@
|
||||
#include <GccEnt_BadQualifier.hxx>
|
||||
#include <Geom2d_Circle.hxx>
|
||||
#include <Geom2d_Line.hxx>
|
||||
#include <Geom2d_Point.hxx>
|
||||
#include <GccEnt_QualifiedCirc.hxx>
|
||||
#include <GccEnt_QualifiedLin.hxx>
|
||||
#include <StdFail_NotDone.hxx>
|
||||
|
||||
Geom2dGcc_Circ2dTanCen::
|
||||
Geom2dGcc_Circ2dTanCen (const Geom2dGcc_QualifiedCurve& Qualified1 ,
|
||||
const Handle(Geom2d_Point&) PCenter ,
|
||||
const Handle(Geom2d_Point)& PCenter ,
|
||||
const Standard_Real Tolerance ):
|
||||
cirsol(1,2) ,
|
||||
qualifier1(1,2),
|
||||
|
@@ -140,7 +140,7 @@ Geom2dGcc_Circ2dTanOnRad::
|
||||
}
|
||||
|
||||
Geom2dGcc_Circ2dTanOnRad::
|
||||
Geom2dGcc_Circ2dTanOnRad (const Handle(Geom2d_Point&) Point1 ,
|
||||
Geom2dGcc_Circ2dTanOnRad (const Handle(Geom2d_Point)& Point1 ,
|
||||
const Geom2dAdaptor_Curve& OnCurve ,
|
||||
const Standard_Real Radius ,
|
||||
const Standard_Real Tolerance ):
|
||||
|
Reference in New Issue
Block a user