| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using HydrEngineCSharp; |
| | | |
| | | namespace DPumpHydr.WinFrmUI.Volute |
| | | { |
| | |
| | | bool bSucc = pDisplayView.BeginTurbopumpTopoShape(strTurbopumpTopoShapeName); |
| | | } |
| | | |
| | | public HydrEngineCSharp.BcGePoint CreateWaterBody() |
| | | |
| | | |
| | | public void CreateWaterBody(HydrEngineCSharp.BcGePoint theMPlnBasePt, HydrEngineCSharp.BcGePoint theMPlnOuterPt) |
| | | { |
| | | //double dOuterOffset = theOffset; |
| | | //double dOuterHigh = theHigh; |
| | | //double dOuterRad = theRad; |
| | | //if (CreateOutflowBodyConnect()) |
| | | //{ |
| | | // //pDisplayView.build2DSegmentCurve(dOuterOffset, dOuterHigh, dOuterRad);// 75.660892, 283.1167 |
| | | // //Invalidate(true); |
| | | // //pDisplayView.FitAll3DViews(true); |
| | | // //HydrEngineCSharp.BcGePoint thePt = pDisplayView.get2DSegmentInterPt(); |
| | | |
| | | |
| | | // return thePt; |
| | | //} |
| | | //HydrEngineCSharp.BcGePoint theMidCurveFilletPtOnBase = new HydrEngineCSharp.BcGePoint(); |
| | | //HydrEngineCSharp.BcGePoint theMidCurveFilletPtOnOuter = new HydrEngineCSharp.BcGePoint(); |
| | | //this.pDisplayView.CreateWaterBody(theMidCurveFilletPtOnBase, theMidCurveFilletPtOnOuter); |
| | | //theMidCurveFilletPtOnBase = this.pDisplayView.get2DMidCurveFilletPtOnBase(); |
| | | //theMidCurveFilletPtOnOuter = this.pDisplayView.get2DMidCurveFilletPtOnOuter(); |
| | | ////this.pDisplayView3d.CreateWaterBody(theMidCurveFilletPtOnBase, theMidCurveFilletPtOnOuter); |
| | | return null; |
| | | //WaterBodyOuterParam theWaterBodyOuterParam = new WaterBodyOuterParam(); |
| | | //theWaterBodyOuterParam.SetOuterOffset(theOffset); |
| | | //theWaterBodyOuterParam.SetOuterHigh(theHigh); |
| | | //theWaterBodyOuterParam.SetOuterRad(theRad); |
| | | //theWaterBodyOuterParam.SetTopValue(m_dTopValue); |
| | | //theWaterBodyOuterParam.SetBtmValue(m_dBtmValue); |
| | | |
| | | //Invalidate(true); |
| | | |
| | | |
| | | // pDisplayView.build2DMidCurve(theWaterBodyOuterParam); |
| | | |
| | | // pDisplayView.build2DMidCurveFillet(dAngle, m_dMPlnBasePtScaleValue, m_dMPlnOuterPtScaleValue); |
| | | // Invalidate(true); |
| | | // pDisplayView.FitAll3DViews(true); |
| | | |
| | | } |
| | | |
| | | |
| | | public void EditOutletFlow() |
| | | { |
| | | //m_dTopValue += 0.1; |
| | | //m_dBtmValue += 0.1; |
| | | //pDisplayView.edit2DMidCurve(m_dTopValue, m_dBtmValue); |
| | | |
| | | //pDisplayView.build2DMidCurveFillet(dAngle, m_dMPlnBasePtScaleValue, m_dMPlnOuterPtScaleValue); |
| | | //Invalidate(true); |
| | | //pDisplayView.FitAll3DViews(true); |
| | | } |
| | | |
| | | } |
| | | } |