File indexing completed on 2025-01-18 10:04:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESToBRep_IGESBoundary_HeaderFile
0018 #define _IGESToBRep_IGESBoundary_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IGESToBRep_CurveAndSurface.hxx>
0024 #include <TopoDS_Face.hxx>
0025 #include <gp_Trsf2d.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <Standard_Transient.hxx>
0028 #include <IGESData_HArray1OfIGESEntity.hxx>
0029 class IGESData_IGESEntity;
0030 class ShapeExtend_WireData;
0031
0032
0033 class IGESToBRep_IGESBoundary;
0034 DEFINE_STANDARD_HANDLE(IGESToBRep_IGESBoundary, Standard_Transient)
0035
0036
0037
0038
0039
0040
0041 class IGESToBRep_IGESBoundary : public Standard_Transient
0042 {
0043
0044 public:
0045
0046
0047
0048 Standard_EXPORT IGESToBRep_IGESBoundary();
0049
0050
0051 Standard_EXPORT IGESToBRep_IGESBoundary(const IGESToBRep_CurveAndSurface& CS);
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 Standard_EXPORT void Init (const IGESToBRep_CurveAndSurface& CS, const Handle(IGESData_IGESEntity)& entity, const TopoDS_Face& face, const gp_Trsf2d& trans, const Standard_Real uFact, const Standard_Integer filepreference);
0062
0063
0064 Handle(ShapeExtend_WireData) WireData() const;
0065
0066
0067
0068 Handle(ShapeExtend_WireData) WireData3d() const;
0069
0070
0071
0072 Handle(ShapeExtend_WireData) WireData2d() const;
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087 Standard_EXPORT Standard_Boolean Transfer (Standard_Boolean& okCurve, Standard_Boolean& okCurve3d, Standard_Boolean& okCurve2d, const Handle(IGESData_IGESEntity)& curve3d, const Standard_Boolean toreverse3d, const Handle(IGESData_HArray1OfIGESEntity)& curves2d, const Standard_Integer number);
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103 Standard_EXPORT Standard_Boolean Transfer (Standard_Boolean& okCurve, Standard_Boolean& okCurve3d, Standard_Boolean& okCurve2d, const Handle(ShapeExtend_WireData)& curve3d, const Handle(IGESData_HArray1OfIGESEntity)& curves2d, const Standard_Boolean toreverse2d, const Standard_Integer number, Handle(ShapeExtend_WireData)& lsewd);
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113 Standard_EXPORT virtual void Check (const Standard_Boolean result, const Standard_Boolean checkclosure, const Standard_Boolean okCurve3d, const Standard_Boolean okCurve2d);
0114
0115
0116
0117
0118 DEFINE_STANDARD_RTTIEXT(IGESToBRep_IGESBoundary,Standard_Transient)
0119
0120 protected:
0121
0122
0123
0124 Standard_EXPORT virtual Standard_Boolean Transfer (Standard_Boolean& okCurve, Standard_Boolean& okCurve3d, Standard_Boolean& okCurve2d, const Handle(IGESData_IGESEntity)& icurve3d, const Handle(ShapeExtend_WireData)& scurve3d, const Standard_Boolean usescurve, const Standard_Boolean toreverse3d, const Handle(IGESData_HArray1OfIGESEntity)& curves2d, const Standard_Boolean toreverse2d, const Standard_Integer number, Handle(ShapeExtend_WireData)& lsewd);
0125
0126 Standard_EXPORT static void ReverseCurves3d (const Handle(ShapeExtend_WireData)& sewd);
0127
0128 Standard_EXPORT static void ReverseCurves2d (const Handle(ShapeExtend_WireData)& sewd, const TopoDS_Face& face);
0129
0130 IGESToBRep_CurveAndSurface myCS;
0131 Handle(IGESData_IGESEntity) myentity;
0132 Handle(ShapeExtend_WireData) mysewd;
0133 Handle(ShapeExtend_WireData) mysewd3d;
0134 Handle(ShapeExtend_WireData) mysewd2d;
0135 TopoDS_Face myface;
0136 gp_Trsf2d mytrsf;
0137 Standard_Real myuFact;
0138 Standard_Integer myfilepreference;
0139
0140
0141 private:
0142
0143
0144
0145
0146 };
0147
0148
0149 #include <IGESToBRep_IGESBoundary.lxx>
0150
0151
0152
0153
0154
0155 #endif