File indexing completed on 2025-01-18 10:04:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _ShapeAnalysis_TransferParametersProj_HeaderFile
0018 #define _ShapeAnalysis_TransferParametersProj_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Adaptor3d_CurveOnSurface.hxx>
0024 #include <TopLoc_Location.hxx>
0025 #include <ShapeAnalysis_TransferParameters.hxx>
0026 #include <TColStd_HSequenceOfReal.hxx>
0027 class Geom_Curve;
0028 class Geom2d_Curve;
0029 class TopoDS_Edge;
0030 class TopoDS_Face;
0031 class TopoDS_Vertex;
0032
0033
0034 class ShapeAnalysis_TransferParametersProj;
0035 DEFINE_STANDARD_HANDLE(ShapeAnalysis_TransferParametersProj, ShapeAnalysis_TransferParameters)
0036
0037
0038
0039
0040
0041
0042 class ShapeAnalysis_TransferParametersProj : public ShapeAnalysis_TransferParameters
0043 {
0044
0045 public:
0046
0047
0048
0049 Standard_EXPORT ShapeAnalysis_TransferParametersProj();
0050
0051 Standard_EXPORT ShapeAnalysis_TransferParametersProj(const TopoDS_Edge& E, const TopoDS_Face& F);
0052
0053 Standard_EXPORT virtual void Init (const TopoDS_Edge& E, const TopoDS_Face& F) Standard_OVERRIDE;
0054
0055
0056
0057 Standard_EXPORT virtual Handle(TColStd_HSequenceOfReal) Perform (const Handle(TColStd_HSequenceOfReal)& Papams, const Standard_Boolean To2d) Standard_OVERRIDE;
0058
0059
0060
0061 Standard_EXPORT virtual Standard_Real Perform (const Standard_Real Param, const Standard_Boolean To2d) Standard_OVERRIDE;
0062
0063
0064
0065
0066
0067 Standard_EXPORT Standard_Boolean& ForceProjection();
0068
0069
0070
0071 Standard_EXPORT virtual void TransferRange (TopoDS_Edge& newEdge, const Standard_Real prevPar, const Standard_Real currPar, const Standard_Boolean Is2d) Standard_OVERRIDE;
0072
0073
0074 Standard_EXPORT virtual Standard_Boolean IsSameRange() const Standard_OVERRIDE;
0075
0076
0077
0078
0079 Standard_EXPORT static TopoDS_Vertex CopyNMVertex (const TopoDS_Vertex& theVert, const TopoDS_Edge& toedge, const TopoDS_Edge& fromedge);
0080
0081
0082
0083
0084 Standard_EXPORT static TopoDS_Vertex CopyNMVertex (const TopoDS_Vertex& theVert, const TopoDS_Face& toFace, const TopoDS_Face& fromFace);
0085
0086
0087
0088
0089 DEFINE_STANDARD_RTTIEXT(ShapeAnalysis_TransferParametersProj,ShapeAnalysis_TransferParameters)
0090
0091 protected:
0092
0093
0094
0095
0096 private:
0097
0098
0099 Standard_EXPORT Standard_Real PreformSegment (const Standard_Real Param, const Standard_Boolean To2d, const Standard_Real First, const Standard_Real Last);
0100
0101 Handle(Geom_Curve) myCurve;
0102 Handle(Geom2d_Curve) myCurve2d;
0103 Adaptor3d_CurveOnSurface myAC3d;
0104 Standard_Real myPrecision;
0105 TopLoc_Location myLocation;
0106 Standard_Boolean myForceProj;
0107 Standard_Boolean myInitOK;
0108
0109
0110 };
0111
0112
0113
0114
0115
0116
0117
0118 #endif