org.osm2world.core.map_elevation.creation
public class LeastSquaresInterpolator extends Object implements TerrainInterpolator
Modifier and Type | Class and Description |
---|---|
static class |
LeastSquaresInterpolator.DefaultPolynomial |
static interface |
LeastSquaresInterpolator.Polynomial |
static class |
LeastSquaresInterpolator.SiteWithPolynomial |
Constructor and Description |
---|
LeastSquaresInterpolator() |
Modifier and Type | Method and Description |
---|---|
Collection<LeastSquaresInterpolator.SiteWithPolynomial> |
getSitesWithPolynomials()
provides access to the polynomials approximated internally.
|
VectorXYZ |
interpolateEle(VectorXZ pos) |
void |
setKnownSites(Collection<VectorXYZ> siteVectors) |
public void setKnownSites(Collection<VectorXYZ> siteVectors)
setKnownSites
in interface TerrainInterpolator
public VectorXYZ interpolateEle(VectorXZ pos)
interpolateEle
in interface TerrainInterpolator
public Collection<LeastSquaresInterpolator.SiteWithPolynomial> getSitesWithPolynomials()