mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
1. Restriction line is processed in IntTools_FaceFace with using methods of GeomInt_IntSS class. 2. Check, if Restriction- and Walking-lines (or Restriction-Restriction lines) are coincided, has been added in IntPatch_ImpPrmIntersection.cxx (at that RLine is considered to be isoline only). 3. Check, if RLine and GLine are coincided, has been added in IntPatch_ImpImpIntersection.cxx. 4. Create new class IntPatch_PointLine, which is inherited from IntPatch_Line. 5. The reason of exception (in DEBUG MODE) has been eliminated. New test cases for issue #25416 were added. tests/bugs/modalg_5/bug24650 was modified.
156 lines
4.4 KiB
Plaintext
156 lines
4.4 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 ALine; -- inherits Line from IntPatch
|
|
class GLine; -- inherits Line from IntPatch
|
|
deferred class PointLine; -- inherits Line from IntPatch
|
|
class RLine; -- inherits PointLine from IntPatch
|
|
class WLine; -- inherits PointLine from IntPatch
|
|
|
|
class ArcFunction;
|
|
|
|
class InterferencePolyhedron;
|
|
|
|
-- implicite/implicite
|
|
|
|
class ImpImpIntersection;
|
|
|
|
class CSFunction; -- inherits FunctionSetWithDerivatives
|
|
|
|
|
|
-- 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 CurvIntSurf instantiates IntCS from IntImp
|
|
(HSurface from Adaptor3d,
|
|
HSurfaceTool from Adaptor3d,
|
|
HCurve2d from Adaptor2d,
|
|
HCurve2dTool from IntPatch,
|
|
CSFunction from IntPatch);
|
|
|
|
end IntPatch;
|