mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -17,6 +17,7 @@
|
||||
#include <ShapeUpgrade_ShapeDivideAngle.ixx>
|
||||
#include <ShapeUpgrade_SplitSurfaceAngle.hxx>
|
||||
#include <ShapeUpgrade_FaceDivide.hxx>
|
||||
#include <ShapeUpgrade_WireDivide.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ShapeDivideAngle
|
||||
|
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <ShapeUpgrade_ShapeDivideClosed.ixx>
|
||||
#include <ShapeUpgrade_ClosedFaceDivide.hxx>
|
||||
#include <ShapeUpgrade_WireDivide.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ShapeDivideClosed
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#include <ShapeUpgrade_ClosedEdgeDivide.hxx>
|
||||
#include <ShapeUpgrade_WireDivide.hxx>
|
||||
#include <ShapeUpgrade_FaceDivide.hxx>
|
||||
#include <ShapeUpgrade_SplitSurface.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ShapeDivideClosedEdges
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include <BRepClass3d_SolidClassifier.hxx>
|
||||
|
||||
#include <ShapeAnalysis_ShapeTolerance.hxx>
|
||||
#include <ShapeUpgrade_WireDivide.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeUpgrade_ShellSewing
|
||||
|
@@ -57,7 +57,7 @@ ShapeUpgrade_SplitCurve::ShapeUpgrade_SplitCurve() : myStatus(0)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void ShapeUpgrade_SplitCurve::SetSplitValues (const Handle(TColStd_HSequenceOfReal& SplitValues))
|
||||
void ShapeUpgrade_SplitCurve::SetSplitValues (const Handle(TColStd_HSequenceOfReal)& SplitValues)
|
||||
{
|
||||
Standard_Real precision = Precision::PConfusion();
|
||||
if(SplitValues.IsNull()) return;
|
||||
|
Reference in New Issue
Block a user