mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <StepToTopoDS_PointPairHasher.ixx>
|
||||
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : HashCode
|
||||
//purpose :
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include <Geom_BoundedSurface.hxx>
|
||||
#include <StepToGeom_MakeSurface.hxx>
|
||||
#include <StepGeom_HArray1OfSurfaceBoundary.hxx>
|
||||
#include <StepGeom_BoundaryCurve.hxx>
|
||||
#include <StepToTopoDS_TranslateCompositeCurve.hxx>
|
||||
|
||||
#include <TopoDS.hxx>
|
||||
|
@@ -36,10 +36,10 @@
|
||||
#include <StepShape_EdgeLoop.hxx>
|
||||
#include <StepShape_Edge.hxx>
|
||||
#include <StepShape_OrientedEdge.hxx>
|
||||
#include <StepShape_Vertex.hxx>
|
||||
#include <StepGeom_Curve.hxx>
|
||||
#include <StepShape_EdgeCurve.hxx>
|
||||
#include <StepGeom_Pcurve.hxx>
|
||||
//#include <StepGeom_Polyline.hxx>
|
||||
#include <StepGeom_SurfaceCurve.hxx>
|
||||
#include <StepRepr_DefinitionalRepresentation.hxx>
|
||||
#include <StepGeom_PcurveOrSurface.hxx>
|
||||
|
Reference in New Issue
Block a user