Package boofcv.alg.nn

Class KdTreePoint3D_F32

  • All Implemented Interfaces:
    org.ddogleg.nn.alg.KdTreeDistance<georegression.struct.point.Point3D_F32>

    public class KdTreePoint3D_F32
    extends java.lang.Object
    implements org.ddogleg.nn.alg.KdTreeDistance<georegression.struct.point.Point3D_F32>
    Computes the Euclidean distance squared of Point3D_F32 for a KdTree.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double distance​(georegression.struct.point.Point3D_F32 a, georegression.struct.point.Point3D_F32 b)  
      int length()  
      double valueAt​(georegression.struct.point.Point3D_F32 point, int index)  
      • Methods inherited from class java.lang.Object

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

      • KdTreePoint3D_F32

        public KdTreePoint3D_F32()
    • Method Detail

      • distance

        public double distance​(georegression.struct.point.Point3D_F32 a,
                               georegression.struct.point.Point3D_F32 b)
        Specified by:
        distance in interface org.ddogleg.nn.alg.KdTreeDistance<georegression.struct.point.Point3D_F32>
      • valueAt

        public double valueAt​(georegression.struct.point.Point3D_F32 point,
                              int index)
        Specified by:
        valueAt in interface org.ddogleg.nn.alg.KdTreeDistance<georegression.struct.point.Point3D_F32>
      • length

        public int length()
        Specified by:
        length in interface org.ddogleg.nn.alg.KdTreeDistance<georegression.struct.point.Point3D_F32>