Documentation of 'georegression.geometry.UtilPoint3D_F64' Java class
UtilPoint3D_F64
georegression.geometry

Class UtilPoint3D_F64



  • public class UtilPoint3D_F64
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      UtilPoint3D_F64() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void boundingBox(java.util.List<Point3D_F64> points, Box3D_F64 bounding)
      Finds the minimal volume Box3D_F64 which contains all the points.
      static java.util.List<Point3D_F64> copy(java.util.List<Point3D_F64> pts) 
      static double distance(double x0, double y0, double z0, double x1, double y1, double z1)
      Euclidean distance between the two specified points
      static double distanceSq(double x0, double y0, double z0, double x1, double y1, double z1)
      Euclidean distance squared between the two specified points
      static Point3D_F64 mean(java.util.List<Point3D_F64> points, int num, Point3D_F64 mean)
      Computes the mean of the list of points up to element num.
      static Point3D_F64 mean(java.util.List<Point3D_F64> points, Point3D_F64 mean)
      Computes the mean of the list of points.
      static void noiseNormal(java.util.List<Point3D_F64> pts, double sigma, java.util.Random rand) 
      static double norm(double x, double y, double z) 
      static java.util.List<Point3D_F64> random(double min, double max, int num, java.util.Random rand) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UtilPoint3D_F64

        public UtilPoint3D_F64()
    • Method Detail

      • distance

        public static double distance(double x0,
                                      double y0,
                                      double z0,
                                      double x1,
                                      double y1,
                                      double z1)
        Euclidean distance between the two specified points
        Parameters:
        x0 - x-axis on Point 0
        y0 - y-axis on Point 0
        z0 - z-axis on Point 0
        x1 - x-axis on Point 1
        y1 - y-axis on Point 1
        z1 - z-axis on Point 1
        Returns:
        Euclidean distance
      • distanceSq

        public static double distanceSq(double x0,
                                        double y0,
                                        double z0,
                                        double x1,
                                        double y1,
                                        double z1)
        Euclidean distance squared between the two specified points
        Parameters:
        x0 - x-axis on Point 0
        y0 - y-axis on Point 0
        z0 - z-axis on Point 0
        x1 - x-axis on Point 1
        y1 - y-axis on Point 1
        z1 - z-axis on Point 1
        Returns:
        Euclidean distance squared
      • norm

        public static double norm(double x,
                                  double y,
                                  double z)
      • noiseNormal

        public static void noiseNormal(java.util.List<Point3D_F64> pts,
                                       double sigma,
                                       java.util.Random rand)
      • random

        public static java.util.List<Point3D_F64> random(double min,
                                                         double max,
                                                         int num,
                                                         java.util.Random rand)
      • mean

        public static Point3D_F64 mean(java.util.List<Point3D_F64> points,
                                       Point3D_F64 mean)
        Computes the mean of the list of points.
        Parameters:
        points - List of points
        mean - (Optional) storage for the mean. Can be null
        Returns:
        Mean
      • mean

        public static Point3D_F64 mean(java.util.List<Point3D_F64> points,
                                       int num,
                                       Point3D_F64 mean)
        Computes the mean of the list of points up to element num.
        Parameters:
        points - List of points
        num - use points up to num, exclusive.
        mean - (Optional) storage for the mean. Can be null
        Returns:
        Mean
      • boundingBox

        public static void boundingBox(java.util.List<Point3D_F64> points,
                                       Box3D_F64 bounding)
        Finds the minimal volume Box3D_F64 which contains all the points.
        Parameters:
        points - Input: List of points.
        bounding - Output: Bounding box

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.