public abstract class GeoModelEstimatorNto1<Model,Point> extends java.lang.Object implements GeoModelEstimator1<Model,Point>
GeoModelEstimatorN to be used as a GeoModelEstimator1. If more than one
solution is found the ambiguity is resolved by computing the distance each hypothesis is away from a set of points
not used to compute the model.| Constructor and Description |
|---|
GeoModelEstimatorNto1(GeoModelEstimatorN<Model,Point> alg,
org.ddogleg.fitting.modelset.DistanceFromModel<Model,Point> distance,
org.ddogleg.struct.FastQueue<Model> solutions,
int numTest) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
copy(Model src,
Model dst)
Copies src into dst
|
int |
getMinimumPoints()
Minimum number of points required to estimate the model.
|
boolean |
process(java.util.List<Point> points,
Model estimatedModel)
Estimates the model given a set of observations.
|
public boolean process(java.util.List<Point> points, Model estimatedModel)
GeoModelEstimator1process in interface GeoModelEstimator1<Model,Point>points - Input: Set of observations. Not modified.estimatedModel - Output: Storage for the estimated model. Modified.public int getMinimumPoints()
GeoModelEstimator1getMinimumPoints in interface GeoModelEstimator1<Model,Point>