Documentation of 'org.ddogleg.fitting.modelset.DistanceFromModel' Java class
DistanceFromModel
org.ddogleg.fitting.modelset

Interface DistanceFromModel<Model,Point>

    • Method Detail

      • setModel

        void setModel(Model model)
        Sets the model parameters.
        Parameters:
        model - Model parameters.
      • computeDistance

        double computeDistance(Point pt)
        Computes the distance the point is from the model.
        Parameters:
        pt - Point being evaluated. Not modified.
        Returns:
        Distance the point is from the model.
      • computeDistance

        void computeDistance(java.util.List<Point> points,
                             double[] distance)
        Computes the distance a set of points is from the model and saves the results in the provided array.
        Parameters:
        points - Set of points which are to be evaluated.
        distance - Where model distance is stored.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.