先定义一个类,名为point,再用double定义x轴和y轴定义一个geiDistance的方法,在main方法中开辟一个空间为p1再开辟一个空间为origin把x和y的赋值放在-x和-y里面 通过geiDistance(pointp)方法进行计算(软件3班阳倩雯)@删完数据库就跑路