mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 04:04:07 +08: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,9 +22,8 @@
|
||||
#include <SelectMgr_BaseFrustum.hxx>
|
||||
#include <SelectMgr_TriangularFrustum.hxx>
|
||||
|
||||
typedef NCollection_Handle<SelectMgr_TriangularFrustum> SelectMgr_HTriangularFrustum;
|
||||
typedef NCollection_List<SelectMgr_HTriangularFrustum> SelectMgr_TriangFrustums;
|
||||
typedef NCollection_List<SelectMgr_HTriangularFrustum>::Iterator SelectMgr_TriangFrustumsIter;
|
||||
typedef NCollection_List<Handle(SelectMgr_TriangularFrustum)> SelectMgr_TriangFrustums;
|
||||
typedef NCollection_List<Handle(SelectMgr_TriangularFrustum)>::Iterator SelectMgr_TriangFrustumsIter;
|
||||
|
||||
//! This class is used to handle polyline selection. The main principle of polyline selection
|
||||
//! algorithm is to split the polygon defined by polyline onto triangles. Than each of
|
||||
|
||||
Reference in New Issue
Block a user