mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
106 lines
3.2 KiB
Plaintext
106 lines
3.2 KiB
Plaintext
-- Created on: 1995-03-14
|
|
-- Created by: Jacques GOUSSARD
|
|
-- Copyright (c) 1995-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.
|
|
|
|
class IntSS from GeomAPI
|
|
|
|
---Purpose: This class implements methods for
|
|
-- computing the intersection curves between two surfaces.
|
|
-- The result is curves from Geom. The "domain" used for
|
|
-- a surface is the natural parametric domain
|
|
-- unless the surface is a RectangularTrimmedSurface
|
|
-- from Geom.
|
|
|
|
|
|
uses IntSS from GeomInt,
|
|
Surface from Geom,
|
|
Curve from Geom
|
|
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard
|
|
|
|
is
|
|
|
|
Create
|
|
---Purpose: Constructs an empty object. Use the
|
|
-- function Perform for further initialization algorithm by two surfaces.
|
|
returns IntSS from GeomAPI;
|
|
---C++: inline
|
|
|
|
|
|
Create(S1,S2: Surface from Geom; Tol: Real from Standard)
|
|
---Purpose: Computes the intersection curves
|
|
-- between the two surfaces S1 and S2. Parameter Tol defines the precision
|
|
-- of curves computation. For most cases the value 1.0e-7 is recommended to use.
|
|
-- Warning
|
|
-- Use the function IsDone to verify that the intersections are successfully computed.I
|
|
---C++: inline
|
|
returns IntSS from GeomAPI;
|
|
|
|
|
|
Perform(me: in out;S1,S2: Surface from Geom; Tol: Real from Standard)
|
|
---Purpose: Initializes an algorithm with the
|
|
-- given arguments and computes the intersection curves between the two surfaces S1 and S2.
|
|
-- Parameter Tol defines the precision of curves computation. For most
|
|
-- cases the value 1.0e-7 is recommended to use.
|
|
-- Warning
|
|
-- Use function IsDone to verify that the intersections are successfully computed.
|
|
---C++: inline
|
|
is static;
|
|
|
|
|
|
IsDone(me)
|
|
---Purpose: Returns True if the intersection was successful.
|
|
returns Boolean from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
|
|
NbLines(me)
|
|
|
|
returns Integer from Standard
|
|
---C++: inline
|
|
---Purpose: Returns the number of computed intersection curves.
|
|
-- Exceptions
|
|
-- StdFail_NotDone if the computation fails.
|
|
raises NotDone from StdFail
|
|
|
|
is static;
|
|
|
|
|
|
Line(me; Index: Integer from Standard)
|
|
---Purpose: Returns the computed intersection curve of index Index.
|
|
-- Exceptions
|
|
-- StdFail_NotDone if the computation fails.
|
|
-- Standard_OutOfRange if Index is out of range [1, NbLines] where NbLines
|
|
-- is the number of computed intersection curves.
|
|
returns any Curve from Geom
|
|
---C++: return const&
|
|
---C++: inline
|
|
raises NotDone from StdFail,
|
|
|
|
OutOfRange from Standard
|
|
|
|
is static;
|
|
|
|
|
|
|
|
|
|
fields
|
|
|
|
myIntersec : IntSS from GeomInt;
|
|
|
|
end IntSS;
|