mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -134,7 +134,7 @@
|
||||
//function : ParametersOfNearestPointOnSurface
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
static Standard_Boolean ParametersOfNearestPointOnSurface(const Extrema_ExtPS theExtr,
|
||||
static Standard_Boolean ParametersOfNearestPointOnSurface(const Extrema_ExtPS& theExtr,
|
||||
Standard_Real& theU,
|
||||
Standard_Real& theV)
|
||||
{
|
||||
|
Reference in New Issue
Block a user