private List <LJJSPoint> GetFillAreaPtLst(LJJSPoint lrptstart, double jdTop, double depthtop, double depthbottom, double xvalue)
        {
            List <LJJSPoint> ptlist        = new List <LJJSPoint>();
            ZuoBiaoOper      zbopp         = new ZuoBiaoOper(FrameDesign.ValueCoordinate);
            LJJSPoint        ptTopend      = zbopp.GetDrawingZuoBiaoPt(lrptstart, drawkdc, xvalue, depthtop, jdTop, lineRoadEnvironment.LineRoadWidth);
            LJJSPoint        ptTopstart    = new LJJSPoint(lrptstart.XValue, ptTopend.YValue);
            LJJSPoint        ptBottomEnd   = zbopp.GetDrawingZuoBiaoPt(lrptstart, drawkdc, xvalue, depthbottom, jdTop, lineRoadEnvironment.LineRoadWidth);
            LJJSPoint        ptBottomStart = new LJJSPoint(lrptstart.XValue, ptBottomEnd.YValue);

            ptlist.Add(ptTopstart);
            ptlist.Add(ptTopend);
            ptlist.Add(ptBottomEnd);
            ptlist.Add(ptBottomStart);
            return(ptlist);
        }
        //understand
        private LJJSPoint GetPtZBByKDC(KeDuChiItem drawkdc, LJJSPoint jdptstart, double xval, double yval, double jdtop)
        {
            ZuoBiaoOper zbopp     = new ZuoBiaoOper(FrameDesign.ValueCoordinate);
            LJJSPoint   lrptstart = ZuoBiaoOper.UpdateLRStartPt(drawkdc.KDir, jdptstart, LineRoadEnvironment.LineRoadWidth);

            return(zbopp.GetDrawingZuoBiaoPt(lrptstart, drawkdc, xval, yval, jdtop, LineRoadEnvironment.LineRoadWidth));
        }
 /// <summary>
 /// 绘制棒线
 /// </summary>
 /// <param name="kdc">棒线所属刻度尺</param>
 /// <param name="xVal">棒线终点对应的横向值(数据库中)</param>
 /// <param name="yVal">棒线终点对应的井深(数据库中)</param>
 private void DrawStickLine(LJJSPoint jdStartPt, KeDuChiItem kdc, double xVal, double yVal, double jdStartJS)
 {
     Layer.Layer_SetToCurrent(kdc.KName);
     ZuoBiaoOper zbopp   = new ZuoBiaoOper(FrameDesign.ValueCoordinate);
     LJJSPoint   ptend   = zbopp.GetDrawingZuoBiaoPt(jdStartPt, kdc, xVal, yVal, jdStartJS, lineRoadEnvironment.LineRoadWidth);
     LJJSPoint   ptstart = new LJJSPoint(jdStartPt.XValue, ptend.YValue);
     ulong       objid   = Line.BuildCommonLineByLayer(ptstart, ptend, kdc.kLineWidth);
 }
Ejemplo n.º 4
0
        private LJJSPoint GetPtZBByKDC(KeDuChiItem drawkdc, LJJSPoint lrptstart, LJJSPoint converPt, double jdtop)
        {
            ZuoBiaoOper zbopp = new ZuoBiaoOper(FrameDesign.ValueCoordinate);

            return(zbopp.GetDrawingZuoBiaoPt(lrptstart, drawkdc, converPt.XValue, converPt.YValue, jdtop, LineRoadEnvironment.LineRoadWidth));
        }