Ejemplo n.º 1
0
 public void RedrawDims(BoxCulvertSection bs)
 {
     if (d1 != null)
     {
         var p1 = Shopdrawing.Core.Utilities.PointsHelper.Offset(bs.BasePoint.Coordinates, 0, bs.H / 2);
         var p2 = Shopdrawing.Core.Utilities.PointsHelper.Offset(p1, bs.B, 0);
         d1.XLine1Point  = p1;
         d1.XLine2Point  = p2;
         d1.DimLinePoint = p1;
         d1.Dimscale     = this.DimScale;
         d1.UpdateVisual();
     }
 }
Ejemplo n.º 2
0
        public void CreateDimss(BoxCulvertSection bs)
        {
            var p1 = Shopdrawing.Core.Utilities.PointsHelper.Offset(bs.BasePoint.Coordinates, 0, bs.H / 2);
            var p2 = Shopdrawing.Core.Utilities.PointsHelper.Offset(p1, bs.B, 0);

            d1 = new LinearDimension(Drawing, p1, p2, p1);
            //Dims.Add(dim);
            d1.Dimpost  = "B=";
            d1.Dimscale = this.DimScale;
            this.Children.Add(d1);
            this.Dependencies.Add(d1);
            d1.OnAddingToCanvas(Drawing.Canvas);
            d1.UpdateVisual();
            Dims.Add(d1);
        }
Ejemplo n.º 3
0
 public Boxculvert(BoxCulvertSection section, double length)
     : base()
 {
     this.CrossSection = section;
     this.Length       = length;
 }