摘要:
/** * 两点间坐标的生成 * @param x1 * @param y1 * @param x2 * @param y2 */ public static void cal(BigDecimal x1, BigDecimal y1, BigDecimal x2, BigDecimal y2){ //坐标的标准增量 BigDecimal _100 = new BigDecimal(0.000100); //坐标的推算方法(加或减) boolean xAddTrue = true; boolean yAddTrue = true; if(x1.compareT... 阅读全文