Point
org.apache.commons.math3.geometry

Interface Point<S extends Space>

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      doubledistance(Point<S> p)
      Compute the distance between the instance and another point.
      SpacegetSpace()
      Get the space to which the point belongs.
      booleanisNaN()
      Returns true if any coordinate of this point is NaN; false otherwise
    • Method Detail

      • getSpace

        Space getSpace()
        Get the space to which the point belongs.
        Returns:
        containing space
      • isNaN

        boolean isNaN()
        Returns true if any coordinate of this point is NaN; false otherwise
        Returns:
        true if any coordinate of this point is NaN; false otherwise
      • distance

        double distance(Point<S> p)
        Compute the distance between the instance and another point.
        Parameters:
        p - second point
        Returns:
        the distance between the instance and p

SCaVis 2.1 © jWork.ORG