Interface DistanceFromModel<Model,Point>
public interface DistanceFromModel<Model,Point>
Computes the distance a sample point is from the provided model.
Example: If the model is a rigid body transformation then there are 6 model parameters, 3 for rotation and 3 for translation. The sample point is the initial location of a point in 3D space before the transform has been applied and the observed location after the transform has been applied.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleComputes the distance the point is from the model.voidComputes the distance a set of points is from the model and saves the results in the provided array.Returns a class for the input point objectReturns a class for the input point objectvoidSets the model parameters.
-
Method Details
-
setModel
-
distance
Computes the distance the point is from the model.- Parameters:
pt- Point being evaluated. Not modified.- Returns:
- Distance the point is from the model.
-
distances
-
getPointType
-
getModelType
-