mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0032008: Modeling Algorithms - disallow implicit copy of Extrema algorithms
Extrema_GenExtPS now prefers resizing of Array2 tables instead of managing tables by extra handles. Removed unsafe casts to Adaptor3d_SurfacePtr/Adaptor3d_CurvePtr in Extrema classes. Removed unsafe casts to curve adaptors in Extrema_ExtCC, Extrema_ExtCC2d classes. Extrema_GenExtPS, Extrema_GenExtSS, Extrema_ExtCS - copies by value are now disallowed; several unexpected places copying the object have been fixed. IntTools_Context - maps of void* have been replaced by typed maps.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
// Created on: 1992-10-08
|
||||
// Created by: Isabelle GRIGNON
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _Adaptor3d_CurveOnSurfacePtr_HeaderFile
|
||||
#define _Adaptor3d_CurveOnSurfacePtr_HeaderFile
|
||||
|
||||
class Adaptor3d_CurveOnSurface;
|
||||
typedef Adaptor3d_CurveOnSurface* Adaptor3d_CurveOnSurfacePtr;
|
||||
|
||||
#endif // _Adaptor3d_CurveOnSurfacePtr_HeaderFile
|
@@ -1,23 +0,0 @@
|
||||
// Created on: 1992-10-08
|
||||
// Created by: Isabelle GRIGNON
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _Adaptor3d_CurvePtr_HeaderFile
|
||||
#define _Adaptor3d_CurvePtr_HeaderFile
|
||||
|
||||
class Adaptor3d_Curve;
|
||||
typedef Adaptor3d_Curve* Adaptor3d_CurvePtr;
|
||||
|
||||
#endif // _Adaptor3d_CurvePtr_HeaderFile
|
@@ -1,23 +0,0 @@
|
||||
// Created on: 1992-10-08
|
||||
// Created by: Isabelle GRIGNON
|
||||
// Copyright (c) 1992-1999 Matra Datavision
|
||||
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _Adaptor3d_SurfacePtr_HeaderFile
|
||||
#define _Adaptor3d_SurfacePtr_HeaderFile
|
||||
|
||||
class Adaptor3d_Surface;
|
||||
typedef Adaptor3d_Surface* Adaptor3d_SurfacePtr;
|
||||
|
||||
#endif // _Adaptor3d_SurfacePtr_HeaderFile
|
@@ -2,8 +2,6 @@ Adaptor3d_Curve.cxx
|
||||
Adaptor3d_Curve.hxx
|
||||
Adaptor3d_CurveOnSurface.cxx
|
||||
Adaptor3d_CurveOnSurface.hxx
|
||||
Adaptor3d_CurveOnSurfacePtr.hxx
|
||||
Adaptor3d_CurvePtr.hxx
|
||||
Adaptor3d_HSurfaceTool.cxx
|
||||
Adaptor3d_HSurfaceTool.hxx
|
||||
Adaptor3d_HVertex.cxx
|
||||
@@ -14,6 +12,5 @@ Adaptor3d_IsoCurve.cxx
|
||||
Adaptor3d_IsoCurve.hxx
|
||||
Adaptor3d_Surface.cxx
|
||||
Adaptor3d_Surface.hxx
|
||||
Adaptor3d_SurfacePtr.hxx
|
||||
Adaptor3d_TopolTool.cxx
|
||||
Adaptor3d_TopolTool.hxx
|
||||
|
Reference in New Issue
Block a user