Class AnalytycLine


  • public class AnalytycLine
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AnalytycLine​(int x1, int y1, int x2, int y2)  
    • Constructor Detail

      • AnalytycLine

        public AnalytycLine​(int x1,
                            int y1,
                            int x2,
                            int y2)
                     throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • getX

        public double getX​(double y)
      • getY

        public double getY​(double x)
      • isInLine

        public boolean isInLine​(double tolerance,
                                double x,
                                double y)
      • isInLine

        public boolean isInLine​(int x,
                                int y)
      • isInHalfPlane1

        public boolean isInHalfPlane1​(double x,
                                      double y)
      • isInHalfPlane2

        public boolean isInHalfPlane2​(double x,
                                      double y)
      • isInHalfPlane1

        public boolean isInHalfPlane1​(int x,
                                      int y)
      • isInHalfPlane2

        public boolean isInHalfPlane2​(int x,
                                      int y)
      • main

        public static void main​(java.lang.String[] args)