mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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.
68 lines
2.1 KiB
Plaintext
68 lines
2.1 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.
|
|
|
|
class NumericCurInf2d from Geom2dLProp
|
|
|
|
---Purpose: Computes the locals extremas of curvature and the
|
|
-- inflections of a bounded curve in 2d.
|
|
|
|
uses
|
|
CurAndInf from LProp,
|
|
Curve from Geom2d,
|
|
Vec2d from gp,
|
|
Pnt2d from gp,
|
|
Dir2d from gp,
|
|
Curve2dTool from Geom2dLProp
|
|
|
|
is
|
|
|
|
Create;
|
|
|
|
PerformCurExt (me : in out; C : Curve from Geom2d; Result : in out CurAndInf)
|
|
---Purpose: Computes the locals extremas of curvature.
|
|
is static;
|
|
|
|
PerformInf (me : in out; C : Curve from Geom2d; Result : in out CurAndInf)
|
|
---Purpose: Computes the inflections.
|
|
is static;
|
|
|
|
PerformCurExt (me : in out;
|
|
C : Curve from Geom2d ;
|
|
UMin : Real;
|
|
UMax : Real;
|
|
Result : in out CurAndInf)
|
|
---Purpose: Computes the locals extremas of curvature.
|
|
-- in the interval of parmeters [UMin,UMax].
|
|
is static;
|
|
|
|
PerformInf (me : in out;
|
|
C : Curve from Geom2d ;
|
|
UMin : Real;
|
|
UMax : Real;
|
|
Result : in out CurAndInf)
|
|
---Purpose: Computes the inflections in the interval of
|
|
-- parmeters [UMin,UMax].
|
|
is static;
|
|
|
|
IsDone (me) returns Boolean
|
|
---Purpose: True if the solutions are found.
|
|
is static;
|
|
|
|
fields
|
|
isDone : Boolean from Standard;
|
|
|
|
end NumericCurInf2d;
|