mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
1) Generic class "Intf_InterferencePolyhedron" from "Intf" package converted to the non-generic class and moved to the "IntPatch" package. Name of this class was changed to "IntPatch_InterferencePolyhedron". 2) Generic class "MoniTool_Elem" from "MoniTool" package converted to the non-generic class "MoniTool_TransientElem". 3) Generic class "IntWalk_PWalking" from "IntWalk" package converted to the non-generic class. And internal class "TheInt2S" of "IntWalk_PWalking" moved from IntWalk_PWalking.cdl to IntWalk.cdl for correct building. Also several "*.cxx" files of this class merged to one ".cxx". 4) Generic class "Transfer_SimpleBinder" from "Transfer" package converted to the non-generic class and moved to the "TransferBRep" package. Name of this class was changed to "TransferBRep_BinderOfShape". 5) Generic class "Geom2dInt_CurveTool" from "Geom2dInt" package converted to the non-generic class "Geom2dInt_Geom2dCurveTool". 6) Generic class "MAT2d_BisectingLocus" from "MAT2d" package converted to the non-generic class and moved to the "BRepMAT2d" package. Name of this class was changed to "BRepMAT2d_BisectingLocus". 7) Generic class "MAT_Mat" from "MAT" package converted to the non-generic class and moved to the "MAT2d" package. Name of this class was changed to "MAT2d_Mat2d".
165 lines
4.6 KiB
Plaintext
165 lines
4.6 KiB
Plaintext
-- Created on: 1992-05-06
|
|
-- Created by: Jacques GOUSSARD
|
|
-- 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 IntPatch
|
|
|
|
---Purpose: Intersection between two patches.
|
|
-- The class PatchIntersection implements the algorithmes
|
|
-- of intersection.
|
|
-- The classes IntPoint, PointOnDomain, Line, ILin, a.s.o...
|
|
-- describe the results of the algorithmes.
|
|
|
|
---Level: Internal
|
|
--
|
|
-- All the methods of the classes of this package are Internal.
|
|
--
|
|
|
|
uses Standard, MMgt, StdFail, GeomAbs, TopAbs, TCollection, TColStd, math,
|
|
gp, TColgp, IntAna,IntSurf, IntImp, IntStart, IntWalk, Bnd, Intf,
|
|
Adaptor2d,Adaptor3d, Geom2d, Geom, Precision
|
|
|
|
is
|
|
|
|
class ALineToWLine;
|
|
|
|
class Point;
|
|
|
|
deferred class Line;
|
|
|
|
class GLine; -- inherits Line from IntPatch
|
|
|
|
class ALine; -- inherits Line from IntPatch
|
|
|
|
class WLine; -- inherits Line from IntPatch
|
|
|
|
class RLine; -- inherits Line from IntPatch
|
|
|
|
class ArcFunction;
|
|
|
|
class InterferencePolyhedron;
|
|
---Purpose: Compute the interference between two polyhedron. Points
|
|
-- of intersection , polylines of intersection and zones of
|
|
-- tangence.
|
|
|
|
-- implicite/implicite
|
|
|
|
class ImpImpIntersection;
|
|
|
|
|
|
-- commun implicite/parametree et parametree/parametree
|
|
|
|
deferred class Polygo;
|
|
|
|
class PolyLine; -- inherits Polygo from IntPatch
|
|
|
|
class PolyArc; -- inherits Polygo from IntPatch
|
|
|
|
class RstInt;
|
|
|
|
|
|
-- implicite/parametre
|
|
|
|
class ImpPrmIntersection;
|
|
|
|
|
|
-- parametre/parametre
|
|
|
|
class Polyhedron;
|
|
|
|
class PolyhedronTool;
|
|
|
|
class PrmPrmIntersection_T3Bits;
|
|
|
|
class PrmPrmIntersection;
|
|
|
|
|
|
-- algorithme general
|
|
|
|
enumeration IType is
|
|
-- type of the line of intersection
|
|
|
|
Lin, -- pour conflit avec deferred class Line
|
|
Circle,
|
|
Ellipse,
|
|
Parabola,
|
|
Hyperbola,
|
|
Analytic,
|
|
Walking,
|
|
Restriction
|
|
end IType;
|
|
|
|
class HInterTool;
|
|
|
|
class HCurve2dTool;
|
|
|
|
class LineConstructor;
|
|
|
|
class Intersection;
|
|
|
|
|
|
class SequenceOfPoint instantiates Sequence from TCollection (Point from IntPatch);
|
|
|
|
class SequenceOfLine instantiates Sequence from TCollection (Line from IntPatch);
|
|
|
|
class TheSurfFunction instantiates ZerImpFunc from IntImp
|
|
(HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
Quadric from IntSurf,
|
|
QuadricTool from IntSurf);
|
|
|
|
class TheIWalking instantiates IWalking from IntWalk
|
|
(PathPoint from IntSurf,
|
|
PathPointTool from IntSurf,
|
|
SequenceOfPathPoint from IntSurf,
|
|
InteriorPoint from IntSurf,
|
|
InteriorPointTool from IntSurf,
|
|
SequenceOfInteriorPoint from IntSurf,
|
|
HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
TheSurfFunction from IntPatch);
|
|
|
|
class TheSearchInside instantiates SearchInside from IntStart
|
|
(HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
TopolTool from Adaptor3d,
|
|
HInterTool from IntPatch,
|
|
TheSurfFunction from IntPatch);
|
|
|
|
class TheSOnBounds instantiates SearchOnBoundaries from IntStart(
|
|
HVertex from Adaptor3d,
|
|
HCurve2d from Adaptor2d,
|
|
HCurve2dTool from IntPatch,
|
|
HInterTool from IntPatch,
|
|
TopolTool from Adaptor3d,
|
|
ArcFunction from IntPatch);
|
|
|
|
alias SearchPnt is InterferencePolygon2d from Intf;
|
|
|
|
class CSFunction instantiates ZerCOnSSParFunc from IntImp
|
|
(HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
HCurve2d from Adaptor2d,
|
|
HCurve2dTool from IntPatch);
|
|
|
|
class CurvIntSurf instantiates IntCS from IntImp
|
|
(HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
HCurve2d from Adaptor2d,
|
|
HCurve2dTool from IntPatch,
|
|
CSFunction from IntPatch);
|
|
|
|
end IntPatch;
|