Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/BRepBlend_PointOnRst.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1993-12-02
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1993-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepBlend_PointOnRst_HeaderFile
0018 #define _BRepBlend_PointOnRst_HeaderFile
0019 
0020 #include <Adaptor2d_Curve2d.hxx>
0021 #include <IntSurf_Transition.hxx>
0022 
0023 
0024 //! Definition of an intersection point between a line
0025 //! and a restriction on a surface.
0026 //! Such a point is contains geometrical information (see
0027 //! the Value method) and logical information.
0028 class BRepBlend_PointOnRst
0029 {
0030 public:
0031 
0032   DEFINE_STANDARD_ALLOC
0033 
0034   
0035   //! Empty constructor.
0036   Standard_EXPORT BRepBlend_PointOnRst();
0037   
0038   //! Creates the PointOnRst on the arc A, at parameter Param,
0039   //! with the transition TLine on the walking line, and
0040   //! TArc on the arc A.
0041   Standard_EXPORT BRepBlend_PointOnRst(const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
0042   
0043   //! Sets the values of a point which is on the arc
0044   //! A, at parameter Param.
0045   Standard_EXPORT void SetArc (const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
0046   
0047   //! Returns the arc of restriction containing the
0048   //! vertex.
0049     const Handle(Adaptor2d_Curve2d)& Arc() const;
0050   
0051   //! Returns the transition of the point on the
0052   //! line on surface.
0053     const IntSurf_Transition& TransitionOnLine() const;
0054   
0055   //! Returns the transition of the point on the arc
0056   //! returned by Arc().
0057     const IntSurf_Transition& TransitionOnArc() const;
0058   
0059   //! Returns the parameter of the point on the
0060   //! arc returned by the method Arc().
0061     Standard_Real ParameterOnArc() const;
0062 
0063 
0064 
0065 
0066 protected:
0067 
0068 
0069 
0070 
0071 
0072 private:
0073 
0074 
0075 
0076   Handle(Adaptor2d_Curve2d) arc;
0077   IntSurf_Transition traline;
0078   IntSurf_Transition traarc;
0079   Standard_Real prm;
0080 
0081 
0082 };
0083 
0084 
0085 #include <BRepBlend_PointOnRst.lxx>
0086 
0087 
0088 
0089 
0090 
0091 #endif // _BRepBlend_PointOnRst_HeaderFile