Interface FitShapeToPoints_F64<Point,Shape>

All Superinterfaces:
FitShapeToPoints<Point,Shape>
All Known Implementing Classes:
FitConicA_F64, FitConicAtA_F64

public interface FitShapeToPoints_F64<Point,Shape> extends FitShapeToPoints<Point,Shape>
General interface for fitting a shape to a set of points. Similar to ModelFitter interface but is more specific. No initial estimate and weights can be specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    process(List<Point> points, double[] weights, Shape output)
    Fits the shape to the points by minimizing some metric.

    Methods inherited from interface georegression.fitting.FitShapeToPoints

    process
  • Method Details

    • process

      boolean process(List<Point> points, double[] weights, Shape output)
      Fits the shape to the points by minimizing some metric.
      Parameters:
      points - (Input) points
      weights - (Input) Weight of each point.
      output - (Output) found shape
      Returns:
      true if successful or false if it failed