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 void assignTo​(ConicFitterBase target)
    Copies fields in this (base) class to target.
    float getInputPointShift()
    The shift to apply to input points before fitting.
    double getScaleRadii()
    The scale factor to apply to the radii of the conic.
    double getShell()
    The shell thickness of the conic.
    double getSubtractRadii()
    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

  • Method Details

    • assignTo

      protected void assignTo​(ConicFitterBase target)
      Copies fields in this (base) class to target.

      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.