mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Generic classes "LProp_FuncCurExt", "LProp_FuncCurNul" and "LProp_NumericCurInf" from "LProp" package converted to the non-generic classes and moved to the "Geom2dLProp" package. Therefore names of this classes were changed to "Geom2dLProp_FuncCurExt", "Geom2dLProp_FuncCurNul" and "Geom2dLProp_NumericCurInf". Generic class "Sweep_LinearRegularSweep" from "Sweep" package converted to the non-generic classes and moved to the "BRepSweep" package. Therefore name of this class was changed to "BRepSweep_NumLinearRegularSweep". Also 2 internal classes of "BRepSweep_NumLinearRegularSweep" moved to "BRepSweep.cdl". Generic classes "Primitives_Wedge" and "Primitives_OneAxis" from "Primitives" package converted to the non-generic classes and moved to the "BRepPrim" package. Therefore names of this classes were changed to "BRepPrim_GWedge" and "BRepPrim_OneAxis". Also enum "Direction" moved to BRepPrim. Therefore all "Primitives" package was deleted. And some other minor changes were done. Internal classes Array2OfShapes and SequenceOfShapes from BRepSweep_NumLinearRegularSweep replaced to Array2OfShape and SequenceOfShape from TopTools.
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
-- Created on: 1994-09-02
|
|
-- Created by: Yves FRICAUD
|
|
-- Copyright (c) 1994-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.
|
|
|
|
private class FuncCurExt from Geom2dLProp inherits FunctionWithDerivative from math
|
|
---Purpose: Function used to find the extremas of curvature in 2d.
|
|
|
|
uses Curve from Geom2d,
|
|
Vec2d from gp,
|
|
Pnt2d from gp,
|
|
Dir2d from gp,
|
|
Curve2dTool from Geom2dLProp
|
|
|
|
is
|
|
Create ( C : Curve from Geom2d ; Tol : Real) returns FuncCurExt from Geom2dLProp;
|
|
|
|
Value (me : in out; X : Real; F : out Real)
|
|
---Purpose: Returns the value for the variable <X>.
|
|
returns Boolean;
|
|
|
|
Derivative (me : in out; X : Real; D : out Real)
|
|
---Purpose: Returns the derivative for the variable <X>.
|
|
returns Boolean;
|
|
|
|
Values (me : in out ; X : Real; F : out Real; D : out Real)
|
|
---Purpose: Returns the value of the function and the derivative
|
|
-- for the variable <X>.
|
|
returns Boolean;
|
|
|
|
IsMinKC (me ; Param : Real)
|
|
---Purpose: True if Param corresponds to a minus
|
|
-- of the radius of curvature.
|
|
returns Boolean;
|
|
|
|
fields
|
|
theCurve : Curve from Geom2d;
|
|
epsX : Real from Standard;
|
|
|
|
end FuncCurExt;
|
|
|