类 KBStraightLine

  • 所有已实现的接口:
    Distancer, StraightLine

    public class KBStraightLine
    extends Object
    implements StraightLine
    KB Straight Line
    a straight line represented by a function.
    使用一次函数表示的直线

    The Function in Math:
    y = kx + b (y = k * x + b)
    • 构造器详细资料

      • KBStraightLine

        public KBStraightLine​(double k,
                              double b)
      • KBStraightLine

        protected KBStraightLine​(double x1,
                                 double y1,
                                 double x2,
                                 double y2)
      • KBStraightLine

        public KBStraightLine​(Point a,
                              Point b)