getX()); System.out.println("p2的y座標為"+p2.getY()); // 計算兩點間距離公式double juli = Math.sqrt(Math.abs((p1.getX() - p2.getX())* (p1.
確定! 回上一頁