1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/src/BRepClass3d/BRepClass3d_Intersector3d.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
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.
2014-02-20 16:15:17 +04:00

147 lines
4.3 KiB
Plaintext

-- Created on: 1994-04-01
-- Created by: Laurent BUCHARD
-- Copyright (c) 1994-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 Intersector3d from BRepClass3d
uses
Lin from gp,
Pnt from gp,
Face from TopoDS,
Shape from TopoDS,
State from TopAbs,
TransitionOnCurve from IntCurveSurface
is
Create returns Intersector3d from BRepClass3d;
---Purpose: Empty constructor.
Perform(me: in out; L : Lin from gp;
Prm : Real from Standard;
Tol : Real from Standard;
F : Face from TopoDS)
---Purpose: Perform the intersection between the
-- segment L(0) ... L(Prm) and the Shape <Sh>.
--
-- Only the point with the smallest parameter on the
-- line is returned.
--
-- The Tolerance <Tol> is used to determine if the
-- first point of the segment is near the face. In
-- that case, the parameter of the intersection point
-- on the line can be a negative value (greater than -Tol).
is static;
IsDone(me)
---Purpose: True is returned when the intersection have been computed.
---C++: inline
returns Boolean from Standard
is static;
HasAPoint(me)
---Purpose: True is returned if a point has been found.
---C++: inline
returns Boolean from Standard
is static;
UParameter(me)
---Purpose: Returns the U parameter of the intersection point
-- on the surface.
---C++: inline
returns Real from Standard
is static;
VParameter(me)
---Purpose: Returns the V parameter of the intersection point
-- on the surface.
---C++: inline
returns Real from Standard
is static;
WParameter(me)
---Purpose: Returns the parameter of the intersection point
-- on the line.
---C++: inline
returns Real from Standard
is static;
Pnt(me)
---Purpose: Returns the geometric point of the intersection
-- between the line and the surface.
---C++: inline
---C++: return const &
returns Pnt from gp
is static;
Transition(me)
---Purpose: Returns the transition of the line on the surface.
---C++: inline
returns TransitionOnCurve from IntCurveSurface
is static;
State(me)
---Purpose: Returns the state of the point on the face.
-- The values can be either TopAbs_IN
-- ( the point is in the face)
-- or TopAbs_ON
-- ( the point is on a boudary of the face).
---C++: inline
returns State from TopAbs
is static;
Face(me)
---Purpose: Returns the significant face used to determine
-- the intersection.
--
---C++: inline
---C++: return const &
returns Face from TopoDS
is static;
---------------------- Local Geometry avec courbureS dans une
-- direction et la direction normale
fields
pnt : Pnt from gp;
U : Real from Standard;
V : Real from Standard;
W : Real from Standard;
transition : TransitionOnCurve from IntCurveSurface;
done : Boolean from Standard;
hasapoint : Boolean from Standard;
state : State from TopAbs;
face : Face from TopoDS;
end Intersector3d;