mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03: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
75 lines
2.7 KiB
Plaintext
75 lines
2.7 KiB
Plaintext
-- Created on: 1992-03-02
|
|
-- 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.
|
|
|
|
package IntImpParGen
|
|
|
|
|
|
---Purpose: Gives a generic algorithm to intersect Implicit Curves
|
|
-- and Bounded Parametric Curves.
|
|
--
|
|
-- Level: Internal
|
|
--
|
|
-- All the methods of all the classes are Internal.
|
|
|
|
|
|
uses Standard, TColStd, gp, math, IntRes2d, StdFail
|
|
|
|
is
|
|
|
|
deferred class ImpTool;
|
|
---Purpose: Template class for an implicit curve.
|
|
|
|
generic class ImpParTool;
|
|
---Purpose: Math function, instantiated inside the Intersector.
|
|
|
|
generic class Intersector,MyImpParTool;
|
|
|
|
|
|
---Purpose: Tool used by the package IntCurve and IntImpParGen
|
|
|
|
DetermineTransition(Pos1 : Position from IntRes2d;
|
|
Tan1 : in out Vec2d from gp;
|
|
Norm1 : Vec2d from gp;
|
|
Trans1: in out Transition from IntRes2d;
|
|
Pos2 : Position from IntRes2d;
|
|
Tan2 : in out Vec2d from gp;
|
|
Norm2 : Vec2d from gp;
|
|
Trans2: in out Transition from IntRes2d;
|
|
Tol : Real from Standard);
|
|
|
|
DetermineTransition(Pos1 : Position from IntRes2d;
|
|
Tan1 : in out Vec2d from gp;
|
|
Trans1: in out Transition from IntRes2d;
|
|
Pos2 : Position from IntRes2d;
|
|
Tan2 : in out Vec2d from gp;
|
|
Trans2: in out Transition from IntRes2d;
|
|
Tol : Real from Standard)
|
|
returns Boolean from Standard;
|
|
|
|
DeterminePosition( Pos1 : in out Position from IntRes2d;
|
|
Dom1 : Domain from IntRes2d;
|
|
P1 : Pnt2d from gp;
|
|
Tol : Real from Standard);
|
|
|
|
NormalizeOnDomain( Par1 : in out Real from Standard;
|
|
Dom1 : Domain from IntRes2d)
|
|
|
|
returns Real from Standard;
|
|
|
|
|
|
end IntImpParGen;
|
|
|