接口的使用
cn.mcres.gyhhy.MXLib.math.graph.Point
-
使用Point的程序包 程序包 说明 cn.mcres.gyhhy.MXLib.math.graph -
-
cn.mcres.gyhhy.MXLib.math.graph中Point的使用
实现Point的cn.mcres.gyhhy.MXLib.math.graph中的类 修饰符和类型 类 说明 classDoublePointclassIntPoint返回Point的cn.mcres.gyhhy.MXLib.math.graph中的方法 修饰符和类型 方法 说明 PointABCStraightLine. getPoint(double x)PointKBStraightLine. getPoint(double x)PointKBStraightLine. getPoint(int x)PointPointStraightLine. getPoint(double x)PointStraightLine. getPoint(double x)default PointStraightLine. getPoint(int x)PointVerticalStraightLine. getPoint(double x)PointVerticalStraightLine. getPoint(int x)Point[]PointStraightLine. getPointSet()default Point[]StraightLine. getPointSet()Return two points that form a line.
返回构造直线的两个点PointKBStraightLine. getRandPoint()default PointStraightLine. getRandPoint()Get a random point from this line.
获取直线上的随机一个点PointVerticalStraightLine. getRandPoint()参数类型为Point的cn.mcres.gyhhy.MXLib.math.graph中的方法 修饰符和类型 方法 说明 static doubleABCStraightLine. distance(double A, double B, double C, Point p)直线方程中
A = y2 - y1,
B = x1 - x2,
C = (x2 * y1) - (x1 * y2)
Copy from https://blog.csdn.net/ffgcc/article/details/79941512doubleABCStraightLine. distance(Point o)doubleDistancer. distance(Point o)Get the distance between thie point and this object.
获取提供的点与该对象的距离.static doubleKBStraightLine. distance(double A, double B, double C, Point p)直线方程中
A = y2 - y1,
B = x1 - x2,
C = (x2 * y1) - (x1 * y2)
Copy from https://blog.csdn.net/ffgcc/article/details/79941512doubleKBStraightLine. distance(Point p)default doublePoint. distance(Point p)doublePointStraightLine. distance(Point o)doubleVerticalStraightLine. distance(Point p)static doublePointStraightLine. DistanceOfPointToLine(Point a, Point b, Point s)参数类型为Point的cn.mcres.gyhhy.MXLib.math.graph中的构造器 构造器 说明 KBStraightLine(Point a, Point b)PointStraightLine(Point a, Point b)
-