示例#1
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));
        }
示例#2
0
文件: Cylinder.cs 项目: isundil/drt
 public override bool solve_equation_z(Points p)
 {
     return(isInWireframe(p, Util.eView.z));
 }