Warning, file /include/opencascade/ChFi2d_ChamferAPI.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ChFi2d_ChamferAPI_HeaderFile
0017 #define ChFi2d_ChamferAPI_HeaderFile
0018
0019 #include <TopoDS_Edge.hxx>
0020 #include <TopoDS_Wire.hxx>
0021 #include <Geom_Curve.hxx>
0022
0023
0024 class ChFi2d_ChamferAPI
0025 {
0026 public:
0027
0028
0029 Standard_EXPORT ChFi2d_ChamferAPI();
0030
0031
0032 Standard_EXPORT ChFi2d_ChamferAPI(const TopoDS_Wire& theWire);
0033
0034
0035 Standard_EXPORT ChFi2d_ChamferAPI(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2);
0036
0037
0038 Standard_EXPORT void Init(const TopoDS_Wire& theWire);
0039
0040
0041 Standard_EXPORT void Init(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2);
0042
0043
0044
0045 Standard_EXPORT Standard_Boolean Perform();
0046
0047
0048 Standard_EXPORT TopoDS_Edge Result(TopoDS_Edge& theEdge1, TopoDS_Edge& theEdge2,
0049 const Standard_Real theLength1, const Standard_Real theLength2);
0050
0051 private:
0052
0053 TopoDS_Edge myEdge1, myEdge2;
0054 Handle(Geom_Curve) myCurve1, myCurve2;
0055 Standard_Real myStart1, myEnd1, myStart2, myEnd2;
0056 Standard_Boolean myCommonStart1, myCommonStart2;
0057 };
0058
0059 #endif