File indexing completed on 2025-01-18 10:03:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomToIGES_GeomSurface_HeaderFile
0018 #define _GeomToIGES_GeomSurface_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_Surface;
0027 class Geom_BoundedSurface;
0028 class Geom_BSplineSurface;
0029 class Geom_BezierSurface;
0030 class Geom_RectangularTrimmedSurface;
0031 class Geom_ElementarySurface;
0032 class Geom_Plane;
0033 class Geom_CylindricalSurface;
0034 class Geom_ConicalSurface;
0035 class Geom_SphericalSurface;
0036 class Geom_ToroidalSurface;
0037 class Geom_SweptSurface;
0038 class Geom_SurfaceOfLinearExtrusion;
0039 class Geom_SurfaceOfRevolution;
0040 class Geom_OffsetSurface;
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059 class GeomToIGES_GeomSurface : public GeomToIGES_GeomEntity
0060 {
0061 public:
0062
0063 DEFINE_STANDARD_ALLOC
0064
0065
0066 Standard_EXPORT GeomToIGES_GeomSurface();
0067
0068
0069
0070 Standard_EXPORT GeomToIGES_GeomSurface(const GeomToIGES_GeomEntity& GE);
0071
0072
0073
0074
0075 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_Surface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0076
0077 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_BoundedSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0078
0079 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_BSplineSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0080
0081 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_BezierSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0082
0083 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_RectangularTrimmedSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0084
0085 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_ElementarySurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0086
0087 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_Plane)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0088
0089 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_CylindricalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0090
0091 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_ConicalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0092
0093 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_SphericalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0094
0095 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_ToroidalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0096
0097 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_SweptSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0098
0099 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_SurfaceOfLinearExtrusion)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0100
0101 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_SurfaceOfRevolution)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0102
0103 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSurface (const Handle(Geom_OffsetSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0104
0105 Standard_EXPORT Handle(IGESData_IGESEntity) TransferPlaneSurface (const Handle(Geom_Plane)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0106
0107 Standard_EXPORT Handle(IGESData_IGESEntity) TransferCylindricalSurface (const Handle(Geom_CylindricalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0108
0109 Standard_EXPORT Handle(IGESData_IGESEntity) TransferConicalSurface (const Handle(Geom_ConicalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0110
0111 Standard_EXPORT Handle(IGESData_IGESEntity) TransferSphericalSurface (const Handle(Geom_SphericalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0112
0113 Standard_EXPORT Handle(IGESData_IGESEntity) TransferToroidalSurface (const Handle(Geom_ToroidalSurface)& start, const Standard_Real Udeb, const Standard_Real Ufin, const Standard_Real Vdeb, const Standard_Real Vfin);
0114
0115
0116 Standard_EXPORT Standard_Real Length() const;
0117
0118
0119 Standard_EXPORT Standard_Boolean GetBRepMode() const;
0120
0121
0122 Standard_EXPORT void SetBRepMode (const Standard_Boolean flag);
0123
0124
0125 Standard_EXPORT Standard_Boolean GetAnalyticMode() const;
0126
0127
0128 Standard_EXPORT void SetAnalyticMode (const Standard_Boolean flag);
0129
0130
0131
0132
0133 protected:
0134
0135
0136
0137
0138
0139 private:
0140
0141
0142
0143 Standard_Real TheLength;
0144 Standard_Boolean myBRepMode;
0145 Standard_Boolean myAnalytic;
0146
0147
0148 };
0149
0150
0151
0152
0153
0154
0155
0156 #endif