Class ConicFitterBase
- All Implemented Interfaces:
CompatibleWithMark
- Direct Known Subclasses:
LinearLeastSquaresEllipseFitter
,LinearLeastSquaresEllipsoidFitter
,LinearLeastSquaresViaNormalEquationBase
Base class for conic fitters, providing common properties and methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
assignTo
(ConicFitterBase target) Copies fields in this (base) class totarget
.float
The shift to apply to input points before fitting.double
The scale factor to apply to the radii of the conic.double
getShell()
The shell thickness of the conic.double
The value to subtract from the radii of the conic.void
setInputPointShift
(float inputPointShift) The shift to apply to input points before fitting.void
setScaleRadii
(double scaleRadii) The scale factor to apply to the radii of the conic.void
setShell
(double shell) The shell thickness of the conic.void
setSubtractRadii
(double subtractRadii) The value to subtract from the radii of the conic.Methods inherited from class org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
fit
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.anchoranalysis.mpp.mark.CompatibleWithMark
isCompatibleWith
-
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.
-