Interface ISamplePoint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getDistanceSq​(double x, double y)
      Get the square of the distance to the specified coordinates
      double getX()
      Get the X coordinate of the sample point
      double getY()
      Get the Y coordinate of the sample point
      double getZ()
      Get the Z coordinate of the sample point
    • Method Detail

      • getX

        double getX()
        Get the X coordinate of the sample point
        Returns:
        a valid floating-point value
      • getY

        double getY()
        Get the Y coordinate of the sample point
        Returns:
        a valid floating-point value
      • getZ

        double getZ()
        Get the Z coordinate of the sample point
        Returns:
        a valid floating point value
      • getDistanceSq

        double getDistanceSq​(double x,
                             double y)
        Get the square of the distance to the specified coordinates
        Parameters:
        x - X coordinate for distance calculation
        y - Y coordinate for distance calculation
        Returns:
        a positive floating-point value