Class UtilPoint4D_F64

java.lang.Object
georegression.geometry.UtilPoint4D_F64

public class UtilPoint4D_F64 extends Object
  • Constructor Details

    • UtilPoint4D_F64

      public UtilPoint4D_F64()
  • Method Details

    • isInfiniteH

      public static boolean isInfiniteH(Point4D_F64 p, double tol)
      Checks to see if the homogenous 3D point lies on the plane at infinity
      Parameters:
      p - (Input) Homogenous point
      tol - (Input) tolerance. Try EPS
      Returns:
      true if on plane at infinity
    • randomN

      public static List<Point4D_F64> randomN(Point4D_F64 center, double stdev, int num, Random rand)
      Normally distributed random point with the mean (center) specified and each axis having the same standard deviation.
      Parameters:
      center -
      stdev -
      num -
      rand -
      Returns:
    • randomN

      public static List<Point4D_F64> randomN(Point3D_F64 center, double w, double stdev, int num, Random rand)
      Normally distributed homogenous 3D point. w is fixed
    • random

      public static List<Point4D_F64> random(double min, double max, int num, Random rand)
    • h_to_e

      public static Point3D_F64 h_to_e(Point4D_F64 p)
      Converts a point from homogenous coordinates into Euclidean
      Parameters:
      p - 3D point in homogenous coordinates
      Returns:
      3D point
    • h_to_e

      public static void h_to_e(Point4D_F64 p, Point3D_F64 out)