mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-27 15:24:02 +08:00
In scope of this issue next unused generic class will be removed: - IntImp_CSCurveTool - IntImp_CSFunction - IntImp_CurveTool - IntImp_ISurfaceTool - IntImp_PSurfaceTool - IntStart_ArcTool - IntStart_PSurfaceTool - IntStart_SIFunction - IntStart_SITool - IntStart_SOBFunction - IntStart_SOBTool - IntStart_TopolTool - IntWalk_IWFunction - IntWalk_Iterator - IntWalk_LoopPointTool - IntWalk_PSurfaceTool - IntWalk_PathPointTool - Intf_ToolPolyhedron - LProp_CurveTool - LProp_SurfaceTool - LibCtl_ProtocolTemplate - MAT_Tool - Primitives_Builder - Sweep_Builder - Sweep_Iterator - Sweep_Tool - TopClass_FaceExplorer - TopClass_Intersection2d - HatchGen_Intersector - IFSelect_SelectList - IntCurveSurface_CurveTool - IntImp_COnSCurveTool - IntImpParGen_ParTool
76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
-- Created on: 1992-03-30
|
|
-- Created by: Laurent BUCHARD
|
|
-- 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.
|
|
|
|
generic class ImpParTool from IntImpParGen (
|
|
ImpTool as any; -- as ImpTool from IntImpParGen
|
|
ParCurve as any;
|
|
ParTool as any)
|
|
|
|
inherits FunctionWithDerivative from math
|
|
|
|
---Purpose: Implements the function used by FunctionAllRoots
|
|
-- to find the areas where the distance between the
|
|
-- implicit and the parametric curves is less than a
|
|
-- tolerance.
|
|
|
|
|
|
uses Pnt2d from gp,
|
|
Vec2d from gp
|
|
|
|
is
|
|
|
|
Create(IT: ImpTool; PC: ParCurve)
|
|
|
|
---Purpose: Constructor of the class.
|
|
|
|
returns ImpParTool from IntImpParGen;
|
|
|
|
|
|
Value(me: in out; Param: Real from Standard; F: out Real from Standard)
|
|
|
|
---Purpose: Computes the value of the signed distance between
|
|
-- the implicit curve and the point at parameter Param
|
|
-- on the parametrised curve.
|
|
|
|
returns Boolean from Standard
|
|
is redefined static;
|
|
|
|
|
|
Derivative(me: in out; Param: Real from Standard;
|
|
D: out Real from Standard)
|
|
|
|
---Purpose: Computes the derivative of the previous function at
|
|
-- parameter Param.
|
|
|
|
returns Boolean from Standard
|
|
is redefined static;
|
|
|
|
|
|
Values(me: in out; Param: Real from Standard; F,D: out Real from Standard)
|
|
|
|
---Purpose: Computes the value and the derivative of the function.
|
|
|
|
returns Boolean from Standard
|
|
is redefined static;
|
|
|
|
fields
|
|
|
|
TheParCurve : Address from Standard;
|
|
TheImpTool : ImpTool;
|
|
|
|
end ImpParTool;
|
|
|