Package javax.vecmath

Class Point2d

java.lang.Object
javax.vecmath.Tuple2d
javax.vecmath.Point2d
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Point2d
extends Tuple2d
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Details

    • Point2d

      public Point2d​(double double1, double double2)
    • Point2d

      public Point2d​(double[] doubleArray)
    • Point2d

      public Point2d​(Point2d point2d)
    • Point2d

      public Point2d​(Point2f point2f)
    • Point2d

      public Point2d​(Tuple2d tuple2d)
    • Point2d

      public Point2d​(Tuple2f tuple2f)
    • Point2d

      public Point2d()
  • Method Details

    • distanceSquared

      public final double distanceSquared​(Point2d point2d)
    • distance

      public final double distance​(Point2d point2d)
    • distanceL1

      public final double distanceL1​(Point2d point2d)
    • distanceLinf

      public final double distanceLinf​(Point2d point2d)