boofcv.alg.geo.robust
Class DistanceTranGivenRotSq
- java.lang.Object
-
- boofcv.alg.geo.robust.DistanceTranGivenRotSq
-
- All Implemented Interfaces:
- DistanceFromModel<Vector3D_F64,Point2D3D>
public class DistanceTranGivenRotSq extends java.lang.Object implements DistanceFromModel<Vector3D_F64,Point2D3D>
-
-
Constructor Summary
Constructors Constructor and Description DistanceTranGivenRotSq()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcomputeDistance(java.util.List<Point2D3D> data, double[] distance)Computes the distance a set of points is from the model and saves the results in the provided array.doublecomputeDistance(Point2D3D pt)Computes the distance the point is from the model.voidsetModel(Vector3D_F64 translation)Sets the model parameters.voidsetRotation(org.ejml.data.DenseMatrix64F R)
-
-
-
Method Detail
-
setRotation
public void setRotation(org.ejml.data.DenseMatrix64F R)
-
setModel
public void setModel(Vector3D_F64 translation)
Description copied from interface:DistanceFromModelSets the model parameters.- Specified by:
setModelin interfaceDistanceFromModel<Vector3D_F64,Point2D3D>- Parameters:
translation- Model parameters.
-
computeDistance
public double computeDistance(Point2D3D pt)
Description copied from interface:DistanceFromModelComputes the distance the point is from the model.- Specified by:
computeDistancein interfaceDistanceFromModel<Vector3D_F64,Point2D3D>- Parameters:
pt- Point being evaluated. Not modified.- Returns:
- Distance the point is from the model.
-
computeDistance
public void computeDistance(java.util.List<Point2D3D> data, double[] distance)
Description copied from interface:DistanceFromModelComputes the distance a set of points is from the model and saves the results in the provided array.- Specified by:
computeDistancein interfaceDistanceFromModel<Vector3D_F64,Point2D3D>- Parameters:
data- Set of points which are to be evaluated.distance- Where model distance is stored.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG