1 // Created on: 1993-12-02
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _BRepBlend_PointOnRst_HeaderFile
18 #define _BRepBlend_PointOnRst_HeaderFile
20 #include <Adaptor2d_Curve2d.hxx>
21 #include <IntSurf_Transition.hxx>
23 class Standard_DomainError;
24 class IntSurf_Transition;
26 //! Definition of an intersection point between a line
27 //! and a restriction on a surface.
28 //! Such a point is contains geometrical information (see
29 //! the Value method) and logical information.
30 class BRepBlend_PointOnRst
37 //! Empty constructor.
38 Standard_EXPORT BRepBlend_PointOnRst();
40 //! Creates the PointOnRst on the arc A, at parameter Param,
41 //! with the transition TLine on the walking line, and
42 //! TArc on the arc A.
43 Standard_EXPORT BRepBlend_PointOnRst(const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
45 //! Sets the values of a point which is on the arc
46 //! A, at parameter Param.
47 Standard_EXPORT void SetArc (const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
49 //! Returns the arc of restriction containing the
51 const Handle(Adaptor2d_Curve2d)& Arc() const;
53 //! Returns the transition of the point on the
55 const IntSurf_Transition& TransitionOnLine() const;
57 //! Returns the transition of the point on the arc
58 //! returned by Arc().
59 const IntSurf_Transition& TransitionOnArc() const;
61 //! Returns the parameter of the point on the
62 //! arc returned by the method Arc().
63 Standard_Real ParameterOnArc() const;
78 Handle(Adaptor2d_Curve2d) arc;
79 IntSurf_Transition traline;
80 IntSurf_Transition traarc;
87 #include <BRepBlend_PointOnRst.lxx>
93 #endif // _BRepBlend_PointOnRst_HeaderFile