Package georegression.fitting.points
Class PointModel<T extends GeoTuple_F64>
java.lang.Object
georegression.fitting.points.PointModel<T>
- All Implemented Interfaces:
ClosestPointToModel<T>
The model is a set of points in 3D space. The points are simply stored as a list of points and exhaustively
searched each time the closest point needs to be found.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PointModel
-
PointModel
-
-
Method Details
-
setPoints
-
findClosestPoint
Description copied from interface:ClosestPointToModel
Searches the model for the closest point to 'target' and if one exists it is returned.- Specified by:
findClosestPoint
in interfaceClosestPointToModel<T extends GeoTuple_F64>
- Parameters:
target
- The point where the closest point on the model is being searched for- Returns:
- Closest model point, if any has been found. null otherwise. The returned point should not be modified or saved since if the model is updated its value can change.
-