Class FitPointsFromObjects

All Implemented Interfaces:
Provider<MarkCollection>

public class FitPointsFromObjects extends MarkCollectionProvider
A MarkCollectionProvider that fits points from objects to create marks.
  • Constructor Details

    • FitPointsFromObjects

      public FitPointsFromObjects()
  • Method Details

    • get

      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
      Throws:
      ProvisionFailedException - if the object cannot be returned.
    • getPointsFitter

      public PointsFitterToMark getPointsFitter()
      The PointsFitterToMark used to fit points to marks.
    • setPointsFitter

      public void setPointsFitter(PointsFitterToMark pointsFitter)
      The PointsFitterToMark used to fit points to marks.
    • getMarkFactory

      public MarkFactory getMarkFactory()
      The MarkFactory used to create new marks.
    • setMarkFactory

      public void setMarkFactory(MarkFactory markFactory)
      The MarkFactory used to create new marks.
    • isConvexHull

      public boolean isConvexHull()
      If true, reduces the set of points by applying a convex-hull operation.
    • setConvexHull

      public void setConvexHull(boolean convexHull)
      If true, reduces the set of points by applying a convex-hull operation.
    • isIgnoreFittingFailure

      public boolean isIgnoreFittingFailure()
      If true, ignores fitting failures and continues processing. If false, throws an exception on fitting failure.
    • setIgnoreFittingFailure

      public void setIgnoreFittingFailure(boolean ignoreFittingFailure)
      If true, ignores fitting failures and continues processing. If false, throws an exception on fitting failure.