mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
The Delete() methods have been deleted from the following classes: - Adaptor2d_Curve2d - Adaptor3d_Curve - Adaptor3d_Surface - AppBlend_Approx - AppCont_Function - AppParCurves_MultiCurve - AppParCurves_MultiPoint - ApproxInt_SvSurfaces - BRepPrim_OneAxis - BRepSweep_NumLinearRegularSweep - BRepSweep_Translation - BRepSweep_Trsf - DBC_BaseArray - GeomFill_Profiler - HatchGen_PointOnHatching - math_BFGS - math_FunctionSet - math_FunctionSetRoot - math_FunctionWithDerivative - math_MultipleVarFunction - math_MultipleVarFunctionWithHessian - math_MultipleVarFunctionWithGradient - math_Powell - math_NewtonMinimum - math_NewtonFunctionSetRoot - math_BissecNewton (just add virtual destructor) - math_FRPR - math_BrentMinimum (just add virtual destructor) - OSD_Chronometer - ProjLib_Projector Virtual methods Delete() or Destroy() of the transient inheritors is not changed (-> separate issue). Classes Graphic3d_DataStructureManager and PrsMgr_Presentation without changes.
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
-- Created on: 1991-05-13
|
|
-- Created by: Laurent PAINNOT
|
|
-- Copyright (c) 1991-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.
|
|
|
|
deferred class MultipleVarFunctionWithGradient from math
|
|
|
|
inherits MultipleVarFunction
|
|
---Purpose:
|
|
-- The abstract class MultipleVarFunctionWithGradient
|
|
-- describes the virtual functions associated with a multiple variable function.
|
|
uses Vector from math
|
|
|
|
is
|
|
NbVariables(me)
|
|
---Purpose: Returns the number of variables of the function.
|
|
|
|
returns Integer is deferred;
|
|
|
|
|
|
Value(me: in out; X: Vector; F: out Real)
|
|
---Purpose: Computes the values of the Functions <F> for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is deferred;
|
|
|
|
|
|
Gradient(me: in out; X: Vector; G: out Vector)
|
|
---Purpose: Computes the gradient <G> of the functions for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is deferred;
|
|
|
|
|
|
Values(me: in out; X: Vector; F: out Real; G: out Vector)
|
|
---Purpose: computes the value <F> and the gradient <G> of the
|
|
-- functions for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean is deferred;
|
|
|
|
end MultipleVarFunctionWithGradient;
|