Constructors

public Point(double xCoordinate, double yCoordinate, double zCoordinate)

public Point(double xCoordinate, double yCoordinate)

public Point(double xCoordinate)

public Point(double[] coordinates)

public Point(float[] coordinates)

public Point(long[] coordinates)

public Point(int[] coordinates)

public Point(short[] coordinates)

public Point(BigDecimal[] coordinates)

public Point(BigInteger[] coordinates)

public Point()

Reset the coordinates

public void setPoint(double xCoordinate, double yCoordinate, double zCoordinate)

public void setPoint(double xCoordinate, double yCoordinate)

public void setPoint(double xCoordinate)

public void setPoint(double[] coordinates)

public void setPoint(float[] coordinates)

public void setPoint(long[] coordinates)

public void setPoint(int[] coordinates)

public void setPoint(short[] coordinates)

public void setPoint(BigDecimal[] coordinates)

public void setPoint(BigInteger[] coordinates)

Return the coordinates

public double[] getCoordinates()

public int getPointDimensions()

Point array

public static Point[] oneDarray(int n)

public static Point[] oneDarray(double[] xCoordinates, double[] yCoordinates, double[] zCoordinates)

public static Point[] oneDarray(double[] xCoordinates, double[] yCoordinates)

public static Point[] oneDarray(double[] xCoordinates)

public static Point[] oneDarray(double[][] coordinates)

public static Point[] oneDarray(float[][] coordinates)

public static Point[] oneDarray(long[][] coordinates)

public static Point[] oneDarray(int[][] coordinates)

public static Point[] oneDarray(short[][] coordinates)

public static Point[] oneDarray(BigDecimal[][] coordinates)

public static Point[] oneDarray(BigInteger[][] coordinates)

public static double[][] getArrayCoordinates(Point[] array)

public static int[] getArrayDimensions(Point[] array)

Distance between two points

public double distance(Point point2)

public static double distance(Point point1, Point point2)

public double distanceSquared(Point point2)

public static double distanceSquared(Point point1, Point point2)

Centre of a constellation of points

public static Point centre(Point[] points)

Equality test

public boolean isEqual(Point point2)

public static boolean isEqual(Point point1, Point point2)

Deep copies

public Point copy()

public static Point copy(Point point)

public static Point[] copy(Point[] array)

Change dimensions

public void toThreeD()

public void toTwoD()

Convert to VectorMaths

public VectorMaths toVectorMaths()
