一下程序中area的意思public static double distance(Point p,Line l) {Point pA = l.getPoint()[0];Point pB = l.getPoint()[1];double d = distance(pA,pB);double a = area(p,pA,pB);return 2 * a / d;}
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 19:14:45
一下程序中area的意思publicstaticdoubledistance(Pointp,Linel){PointpA=l.getPoint()[0];PointpB=l.getPoint()[1]
一下程序中area的意思public static double distance(Point p,Line l) {Point pA = l.getPoint()[0];Point pB = l.getPoint()[1];double d = distance(pA,pB);double a = area(p,pA,pB);return 2 * a / d;}
一下程序中area的意思
public static double distance(Point p,Line l) {
Point pA = l.getPoint()[0];
Point pB = l.getPoint()[1];
double d = distance(pA,pB);
double a = area(p,pA,pB);
return 2 * a / d;
}
一下程序中area的意思public static double distance(Point p,Line l) {Point pA = l.getPoint()[0];Point pB = l.getPoint()[1];double d = distance(pA,pB);double a = area(p,pA,pB);return 2 * a / d;}
静态范围定义:
取A点
取B点
取范围
取区域
返回/
area 区域