Class Point

java.lang.Object
org.oscim.core.Point

public class Point extends Object
  • Field Details

    • x

      public double x
    • y

      public double y
  • Constructor Details

    • Point

      public Point()
    • Point

      public Point(double x, double y)
  • Method Details

    • getX

      public double getX()
    • getY

      public double getY()
    • distance

      public double distance(Point other)
    • distanceSq

      public double distanceSq(Point other)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setPerpendicular

      public void setPerpendicular(Point other)
    • setPerpendicular

      public void setPerpendicular(Point p1, Point p2)