示例#1
0
文件: Cylinder.cs 项目: isundil/drt
 override public void draw_x(Image b, Viewport vp, bool selected)
 {
     draw_points(b, vp, selected, Util.eView.x);
 }
示例#2
0
文件: Cylinder.cs 项目: isundil/drt
        new static public AObjects create_z(Points p1, Points p2, Viewport vp, bool tmp = false)
        {
            var d = (int)Math.Sqrt(Math.Pow(p1.Y - p2.Y, 2) + Math.Pow(p1.X - p2.X, 2));

            return(new Cylinder(p1, d, tmp));
        }