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 <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <IntSurf_Transition.hxx>
25 #include <Standard_Real.hxx>
26 class Adaptor2d_HCurve2d;
27 class Standard_DomainError;
28 class IntSurf_Transition;
31 //! Definition of an intersection point between a line
32 //! and a restriction on a surface.
33 //! Such a point is contains geometrical informations (see
34 //! the Value method) and logical informations.
35 class BRepBlend_PointOnRst
42 //! Empty constructor.
43 Standard_EXPORT BRepBlend_PointOnRst();
45 //! Creates the PointOnRst on the arc A, at parameter Param,
46 //! with the transition TLine on the walking line, and
47 //! TArc on the arc A.
48 Standard_EXPORT BRepBlend_PointOnRst(const Handle(Adaptor2d_HCurve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
50 //! Sets the values of a point which is on the arc
51 //! A, at parameter Param.
52 Standard_EXPORT void SetArc (const Handle(Adaptor2d_HCurve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
54 //! Returns the arc of restriction containing the
56 const Handle(Adaptor2d_HCurve2d)& Arc() const;
58 //! Returns the transition of the point on the
60 const IntSurf_Transition& TransitionOnLine() const;
62 //! Returns the transition of the point on the arc
63 //! returned by Arc().
64 const IntSurf_Transition& TransitionOnArc() const;
66 //! Returns the parameter of the point on the
67 //! arc returned by the method Arc().
68 Standard_Real ParameterOnArc() const;
83 Handle(Adaptor2d_HCurve2d) arc;
84 IntSurf_Transition traline;
85 IntSurf_Transition traarc;
92 #include <BRepBlend_PointOnRst.lxx>
98 #endif // _BRepBlend_PointOnRst_HeaderFile