Package adams.data.objectoverlap
Interface BoundingBoxFallbackSupporter
-
- All Superinterfaces:
Destroyable,OptionHandler
- All Known Subinterfaces:
OptionalBoundingBoxFallbackSupporter
- All Known Implementing Classes:
DiceCoefficient,FilledPolygon,IntersectOverUnionRatio,ObjectLocationsFromReport,ObjectLocationsFromSpreadSheet,PolygonBased,PolygonOutline,PolygonVertices,ReportObjectOverlay
public interface BoundingBoxFallbackSupporter extends OptionHandler
Interface for classes that can fall back on a bbox when the polygon is too small in relation to the bbox.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringboundingBoxFallbackRatioTipText()Returns the tip text for this property.doublegetBoundingBoxFallbackRatio()Returns the ratio between shape area over bbox area.voidsetBoundingBoxFallbackRatio(double value)Sets the ratio between shape area over bbox area.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
setBoundingBoxFallbackRatio
void setBoundingBoxFallbackRatio(double value)
Sets the ratio between shape area over bbox area. If below the bbox is used instead of the polygon.- Parameters:
value- the ratio
-
getBoundingBoxFallbackRatio
double getBoundingBoxFallbackRatio()
Returns the ratio between shape area over bbox area. If below the bbox is used instead of the polygon.- Returns:
- the ratio
-
boundingBoxFallbackRatioTipText
String boundingBoxFallbackRatioTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-