Class GeoModelEstimator1toN<Model,​Point>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMinimumPoints()
      Minimum number of points required to estimate the model.
      boolean process​(java.util.List<Point> points, org.ddogleg.struct.FastQueue<Model> estimatedModels)
      Estimates a set of models which fit the given a set of observations.
      • Methods inherited from class java.lang.Object

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

      • process

        public boolean process​(java.util.List<Point> points,
                               org.ddogleg.struct.FastQueue<Model> estimatedModels)
        Description copied from interface: GeoModelEstimatorN
        Estimates a set of models which fit the given a set of observations. A FastQueue is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the FastQueue.pop() function.
        Specified by:
        process in interface GeoModelEstimatorN<Model,​Point>
        Parameters:
        points - Input: Set of observations. Not modified.
        estimatedModels - Output: Storage for the set of estimated models. Modified.
        Returns:
        true if successful