Package javax.vecmath

Class Point2f

java.lang.Object
javax.vecmath.Tuple2f
javax.vecmath.Point2f
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

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

    • Point2f

      public Point2f​(float float1, float float2)
    • Point2f

      public Point2f​(float[] floatArray)
    • Point2f

      public Point2f​(Point2f point2f)
    • Point2f

      public Point2f​(Point2d point2d)
    • Point2f

      public Point2f​(Tuple2d tuple2d)
    • Point2f

      public Point2f​(Tuple2f tuple2f)
    • Point2f

      public Point2f()
  • Method Details

    • distanceSquared

      public final float distanceSquared​(Point2f point2f)
    • distance

      public final float distance​(Point2f point2f)
    • distanceL1

      public final float distanceL1​(Point2f point2f)
    • distanceLinf

      public final float distanceLinf​(Point2f point2f)