Class ReflectInAxesWithinDistance
Object
AnchorBean<PointsFitter>
InitializableBean<PointsFitter, PointsInitialization>
PointsBean<PointsFitter>
PointsFitter
ReflectInAxesWithinDistance
- All Implemented Interfaces:
CompatibleWithMark
public class ReflectInAxesWithinDistance
extends PointsFitter
Reflects points in each axes if all points are within a certain distance from it
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoubledoubledoublePointsFitterbooleanisCompatibleWith(Mark testMark) voidsetDistanceX(double distanceX) voidsetDistanceY(double distanceY) voidsetDistanceZ(double distanceZ) voidsetPointsFitter(PointsFitter pointsFitter) Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ReflectInAxesWithinDistance
public ReflectInAxesWithinDistance()
-
-
Method Details
-
isCompatibleWith
public boolean isCompatibleWith(Mark testMark) -
fit
public void fit(List<Point3f> points, Mark mark, Dimensions dimensions) throws PointsFitterException, InsufficientPointsException - Specified by:
fitin classPointsFitter- Throws:
PointsFitterExceptionInsufficientPointsException
-
getPointsFitter
public PointsFitter getPointsFitter() -
setPointsFitter
public void setPointsFitter(PointsFitter pointsFitter) -
getDistanceX
public double getDistanceX() -
setDistanceX
public void setDistanceX(double distanceX) -
getDistanceY
public double getDistanceY() -
setDistanceY
public void setDistanceY(double distanceY) -
getDistanceZ
public double getDistanceZ() -
setDistanceZ
public void setDistanceZ(double distanceZ)
-