接口的使用
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中的类 修饰符和类型 类 说明 class
DoublePoint
class
IntPoint
返回Point的cn.mcres.gyhhy.MXLib.math.graph中的方法 修饰符和类型 方法 说明 Point
ABCStraightLine. getPoint(double x)
Point
KBStraightLine. getPoint(double x)
Point
KBStraightLine. getPoint(int x)
Point
PointStraightLine. getPoint(double x)
Point
StraightLine. getPoint(double x)
default Point
StraightLine. getPoint(int x)
Point
VerticalStraightLine. getPoint(double x)
Point
VerticalStraightLine. getPoint(int x)
Point[]
PointStraightLine. getPointSet()
default Point[]
StraightLine. getPointSet()
Return two points that form a line.
返回构造直线的两个点Point
KBStraightLine. getRandPoint()
default Point
StraightLine. getRandPoint()
Get a random point from this line.
获取直线上的随机一个点Point
VerticalStraightLine. getRandPoint()
参数类型为Point的cn.mcres.gyhhy.MXLib.math.graph中的方法 修饰符和类型 方法 说明 static double
ABCStraightLine. 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/79941512double
ABCStraightLine. distance(Point o)
double
Distancer. distance(Point o)
Get the distance between thie point and this object.
获取提供的点与该对象的距离.static double
KBStraightLine. 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/79941512double
KBStraightLine. distance(Point p)
default double
Point. distance(Point p)
double
PointStraightLine. distance(Point o)
double
VerticalStraightLine. distance(Point p)
static double
PointStraightLine. DistanceOfPointToLine(Point a, Point b, Point s)
参数类型为Point的cn.mcres.gyhhy.MXLib.math.graph中的构造器 构造器 说明 KBStraightLine(Point a, Point b)
PointStraightLine(Point a, Point b)
-