Ejemplo n.º 1
0
        public static BG.DSegment3d Line3DToDSegement3d(this MES.Line3D l)
        {
            var startp = l.StartPoint;
            var endp   = l.EndPoint;

            return(new BG.DSegment3d(startp.X, startp.Y, startp.Z, endp.X, endp.Y, endp.Z));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Transforms a line and returns the transformed.
 /// </summary>
 /// <param name="l"></param>
 /// <returns></returns>
 public Line3D Transform(Line3D l)
 {
     return(new Line3D(this.Transform(l.StartPoint), this.Transform(l.EndPoint)));
 }