Class ConicFitterBase
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.mpp.init.PointsInitialization>
org.anchoranalysis.mpp.bean.points.PointsBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter>
org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
org.anchoranalysis.plugin.points.bean.fitter.ConicFitterBase
- All Implemented Interfaces:
org.anchoranalysis.mpp.mark.CompatibleWithMark
- Direct Known Subclasses:
LinearLeastSquaresEllipseFitter,LinearLeastSquaresEllipsoidFitter,LinearLeastSquaresViaNormalEquationBase
public abstract class ConicFitterBase
extends org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
Base class for conic fitters, providing common properties and methods.
-
Constructor Summary
Constructors Constructor Description ConicFitterBase() -
Method Summary
Modifier and Type Method Description protected voidassignTo(ConicFitterBase target)Copies fields in this (base) class totarget.floatgetInputPointShift()The shift to apply to input points before fitting.doublegetScaleRadii()The scale factor to apply to the radii of the conic.doublegetShell()The shell thickness of the conic.doublegetSubtractRadii()The value to subtract from the radii of the conic.voidsetInputPointShift(float inputPointShift)The shift to apply to input points before fitting.voidsetScaleRadii(double scaleRadii)The scale factor to apply to the radii of the conic.voidsetShell(double shell)The shell thickness of the conic.voidsetSubtractRadii(double subtractRadii)The value to subtract from the radii of the conic.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
-
ConicFitterBase
public ConicFitterBase()
-
-
Method Details
-
assignTo
Copies fields in this (base) class totarget.This is intended to be called by sub-classes to help when duplicating.
- Parameters:
target- the object fields are assigned to.
-
getShell
public double getShell()The shell thickness of the conic. -
setShell
public void setShell(double shell)The shell thickness of the conic. -
getSubtractRadii
public double getSubtractRadii()The value to subtract from the radii of the conic. -
setSubtractRadii
public void setSubtractRadii(double subtractRadii)The value to subtract from the radii of the conic. -
getScaleRadii
public double getScaleRadii()The scale factor to apply to the radii of the conic. -
setScaleRadii
public void setScaleRadii(double scaleRadii)The scale factor to apply to the radii of the conic. -
getInputPointShift
public float getInputPointShift()The shift to apply to input points before fitting. -
setInputPointShift
public void setInputPointShift(float inputPointShift)The shift to apply to input points before fitting.
-