| | |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show(theToolTips.GetToolTips(), "提示"); |
| | | return false; |
| | | } |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show(theToolTips.GetToolTips(), "提示"); |
| | | return false ; |
| | | } |
| | | } |
| | |
| | | if (pDisplayView.hasBuildThicknessBody()) |
| | | pDisplayView.ClearTopoShape(TopoTypeDisplay.EThicknessBody); |
| | | var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomCurve); |
| | | if (tt.GetTipsId() != 1) |
| | | { |
| | | } |
| | | Invalidate(true); |
| | | pDisplayView.FitAll3DViews(true); |
| | | |
| | | return tt; |
| | | } |
| | | public HydrEngineCSharp.ToolTips Create3DWaterBody(HydrEngineCSharp.WaterBodyOuterArcParam pHydrGeomArcCurve) |
| | |
| | | if (pDisplayView.hasBuildThicknessBody()) |
| | | pDisplayView.ClearTopoShape(TopoTypeDisplay.EThicknessBody); |
| | | var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomArcCurve); |
| | | if (tt.GetTipsId() != 1) |
| | | { |
| | | } |
| | | Invalidate(true); |
| | | pDisplayView.FitAll3DViews(true); |
| | | |
| | | |
| | | return tt; |
| | | } |
| | | public HydrEngineCSharp.ToolTips Edit3DWaterBody(HydrEngineCSharp.WaterBodyOuterSpParam pHydrGeomCurve) |
| | |
| | | return null; |
| | | if (tt.GetTipsId() != 1) |
| | | { |
| | | |
| | | MessageBox.Show(tt.GetToolTips(), "提示"); |
| | | } |
| | | Invalidate(true); |
| | | |
| | |
| | | return null; |
| | | if (tt.GetTipsId() != 1) |
| | | { |
| | | |
| | | MessageBox.Show(tt.GetToolTips(), "提示"); |
| | | } |
| | | Invalidate(true); |
| | | |