public interface PointInterpolationWeights
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute(VectorNd weights,
Vector3d p,
java.util.Collection<Vector3d> support)
Given a reference point
p, computes and returns a set of
weights w_i that can be used for interpolation of values
associated with a set of support points p_i. |
boolean compute(VectorNd weights, Vector3d p, java.util.Collection<Vector3d> support)
p, computes and returns a set of
weights w_i that can be used for interpolation of values
associated with a set of support points p_i. The weights are
normalized so that they sum to unity. The weights should also be computed
such that
p = sum w_i p_iIf the support points do not have sufficient coverage, the last condition may not be possible. In that case, the method should return false.