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

Class UtilPoint3D_F32



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

      Constructors 
      Constructor and Description
      UtilPoint3D_F32() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void boundingBox(java.util.List<Point3D_F32> points, Box3D_F32 bounding)
      Finds the minimal volume Box3D_F32 which contains all the points.
      static java.util.List<Point3D_F32> copy(java.util.List<Point3D_F32> pts) 
      static float distance(float x0, float y0, float z0, float x1, float y1, float z1)
      Euclidean distance between the two specified points
      static float distanceSq(float x0, float y0, float z0, float x1, float y1, float z1)
      Euclidean distance squared between the two specified points
      static Point3D_F32 mean(java.util.List<Point3D_F32> points, int num, Point3D_F32 mean)
      Computes the mean of the list of points up to element num.
      static Point3D_F32 mean(java.util.List<Point3D_F32> points, Point3D_F32 mean)
      Computes the mean of the list of points.
      static void noiseNormal(java.util.List<Point3D_F32> pts, float sigma, java.util.Random rand) 
      static float norm(float x, float y, float z) 
      static java.util.List<Point3D_F32> random(float min, float 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_F32

        public UtilPoint3D_F32()
    • Method Detail

      • distance

        public static float distance(float x0,
                                     float y0,
                                     float z0,
                                     float x1,
                                     float y1,
                                     float 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 float distanceSq(float x0,
                                       float y0,
                                       float z0,
                                       float x1,
                                       float y1,
                                       float 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 float norm(float x,
                                 float y,
                                 float z)
      • noiseNormal

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

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

        public static Point3D_F32 mean(java.util.List<Point3D_F32> points,
                                       Point3D_F32 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_F32 mean(java.util.List<Point3D_F32> points,
                                       int num,
                                       Point3D_F32 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_F32> points,
                                       Box3D_F32 bounding)
        Finds the minimal volume Box3D_F32 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.