Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:42

0001 // Created on: 1994-11-17
0002 // Created by: Marie Jose MARTZ
0003 // Copyright (c) 1994-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 _GeomToIGES_GeomCurve_HeaderFile
0018 #define _GeomToIGES_GeomCurve_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <GeomToIGES_GeomEntity.hxx>
0025 class IGESData_IGESEntity;
0026 class Geom_Curve;
0027 class Geom_BoundedCurve;
0028 class Geom_BSplineCurve;
0029 class Geom_BezierCurve;
0030 class Geom_TrimmedCurve;
0031 class Geom_Conic;
0032 class Geom_Circle;
0033 class Geom_Ellipse;
0034 class Geom_Hyperbola;
0035 class Geom_Line;
0036 class Geom_Parabola;
0037 class Geom_OffsetCurve;
0038 
0039 
0040 //! This class implements the transfer of the Curve Entity from Geom
0041 //! To IGES. These can be :
0042 //! Curve
0043 //! . BoundedCurve
0044 //! * BSplineCurve
0045 //! * BezierCurve
0046 //! * TrimmedCurve
0047 //! . Conic
0048 //! * Circle
0049 //! * Ellipse
0050 //! * Hyperbloa
0051 //! * Line
0052 //! * Parabola
0053 //! . OffsetCurve
0054 class GeomToIGES_GeomCurve  : public GeomToIGES_GeomEntity
0055 {
0056 public:
0057 
0058   DEFINE_STANDARD_ALLOC
0059 
0060   
0061   Standard_EXPORT GeomToIGES_GeomCurve();
0062   
0063   //! Creates a tool GeomCurve ready to run and sets its
0064   //! fields as GE's.
0065   Standard_EXPORT GeomToIGES_GeomCurve(const GeomToIGES_GeomEntity& GE);
0066   
0067   //! Transfert  a  GeometryEntity which  answer True  to  the
0068   //! member : BRepToIGES::IsGeomCurve(Geometry).  If this
0069   //! Entity could not be converted, this member returns a NullEntity.
0070   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Curve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0071   
0072   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_BoundedCurve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0073   
0074   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_BSplineCurve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0075   
0076   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_BezierCurve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0077   
0078   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_TrimmedCurve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0079   
0080   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Conic)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0081   
0082   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Circle)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0083   
0084   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Ellipse)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0085   
0086   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Hyperbola)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0087   
0088   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Line)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0089   
0090   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_Parabola)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0091   
0092   Standard_EXPORT Handle(IGESData_IGESEntity) TransferCurve (const Handle(Geom_OffsetCurve)& start, const Standard_Real Udeb, const Standard_Real Ufin);
0093 
0094 
0095 
0096 
0097 protected:
0098 
0099 
0100 
0101 
0102 
0103 private:
0104 
0105 
0106 
0107 
0108 
0109 };
0110 
0111 
0112 
0113 
0114 
0115 
0116 
0117 #endif // _GeomToIGES_GeomCurve_HeaderFile