1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-05 12:15:50 +03:00
occt/src/IntImpParGen/IntImpParGen_Intersector.cdl
dln 93cb31a607 0024662: Removing unused "generic" classes. Part 3
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
2014-03-06 15:49:57 +04:00

140 lines
5.0 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.
generic class Intersector from IntImpParGen (
ImpTool as any; -- as ImpTool from IntImpParGen
ParCurve as any;
ParTool as any;
ProjectOnPCurveTool as any) -- as ProjectOnPCurveToolGen from IntCurve
inherits Intersection from IntRes2d
---Purpose: Calculates all the IntersectionPoints
-- and IntersectionSegments between an implicit curve
-- (see class ImpTool) and a parametrised curve (see class
-- ParTool) on their domains.
-- The results of the intersection are stored in the
-- Intersection class from IntRes2d.
-- The parametrised curve has to be bounded (the domain
-- of this curve must verify HasFirstPoint returns True
-- and HasLastPoint returns True).
uses IntersectionPoint from IntRes2d,
IntersectionSegment from IntRes2d,
SequenceOfIntersectionPoint from IntRes2d,
SequenceOfIntersectionSegment from IntRes2d,
Domain from IntRes2d,
Pnt2d from gp,
Array1OfReal from TColStd
raises ConstructionError from Standard
class MyImpParTool instantiates ImpParTool from IntImpParGen(
ImpTool,
ParCurve,
ParTool);
is
Create
---Purpose: Empty constructor.
returns Intersector from IntImpParGen;
Create ( ITool : ImpTool;
Dom1 : Domain from IntRes2d;
PCurve : ParCurve;
Dom2 : Domain from IntRes2d;
TolConf,Tol: Real from Standard)
---Purpose: Intersection between an implicit curve and
-- a parametrised curve.
-- The exception ConstructionError is raised if the domain
-- of the parametrised curve does not verify HasFirstPoint
-- and HasLastPoint return True.
returns Intersector from IntImpParGen
raises ConstructionError from Standard;
Perform (me: in out;
ITool : ImpTool;
Dom1 : Domain from IntRes2d;
PCurve : ParCurve;
Dom2 : Domain from IntRes2d;
TolConf,Tol: Real from Standard)
---Purpose: Intersection between an implicit curve and
-- a parametrised curve.
-- The exception ConstructionError is raised if the domain
-- of the parametrised curve does not verify HasFirstPoint
-- and HasLastPoint return True.
raises ConstructionError from Standard
is static;
FindU ( me ;
parameter : Real from Standard ;
point : in out Pnt2d from gp;
TheParCurev : ParCurve;
TheImpTool : ImpTool)
returns Real from Standard
is static ;
FindV ( me ;
parameter : Real from Standard ;
point : in out Pnt2d from gp ;
TheImpTool : ImpTool ;
ParCurve : ParCurve ;
TheParCurveDomain : Domain from IntRes2d ;
V0 : Real from Standard ;
V1 : Real from Standard ;
Tolerance : Real from Standard )
returns Real from Standard
is static;
And_Domaine_Objet1_Intersections ( me ;
TheImpTool : ImpTool ;
TheParCurve : ParCurve ;
TheImpCurveDomain : Domain from IntRes2d ;
TheParCurveDomain : Domain from IntRes2d ;
NbResultats : in out Integer from Standard ;
Inter2_And_Domain2 : in out Array1OfReal from TColStd ;
Inter1 : in out Array1OfReal from TColStd ;
Resultat1 : in out Array1OfReal from TColStd ;
Resultat2 : in out Array1OfReal from TColStd ;
EpsNul : Real from Standard )
is static;
end Intersector;