Class CountObjectsInPolygon

    • Field Detail

      • m_X

        protected String m_X
        the x coordinates.
      • m_Y

        protected String m_Y
        the y coordinates.
      • m_PartialCounts

        protected boolean m_PartialCounts
        whether to include partial counts.
      • m_OneBased

        protected boolean m_OneBased
        whether report contains one-based coordinates.
      • m_Prefix

        protected String m_Prefix
        the prefix to use when generating a report.
      • m_CheckType

        protected boolean m_CheckType
        whether to check the type (if a suffix provided).
      • m_TypeSuffix

        protected String m_TypeSuffix
        the suffix for the type.
      • m_TypeFind

        protected BaseRegExp m_TypeFind
        the regular expression to apply to the type.
    • Constructor Detail

      • CountObjectsInPolygon

        public CountObjectsInPolygon()
    • Method Detail

      • setX

        public void setX​(String value)
        Sets the X coordinates (1-based) as comma-separated list.
        Parameters:
        value - the comma-separated list
      • getX

        public String getX()
        Returns the comma-separated list of X coordinates (1-based).
        Returns:
        the comma-separated list
      • XTipText

        public String XTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setY

        public void setY​(String value)
        Sets the X coordinates (1-based) as comma-separated list.
        Parameters:
        value - the comma-separated list
      • getY

        public String getY()
        Returns the comma-separated list of Y coordinates (1-based).
        Returns:
        the comma-separated list
      • YTipText

        public String YTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPartialCounts

        public void setPartialCounts​(boolean value)
        Sets whether to include partial hits.
        Parameters:
        value - true if to include partial hits
      • getPartialCounts

        public boolean getPartialCounts()
        Returns whether to include partial hits.
        Returns:
        true if to count partial hits
      • partialCountsTipText

        public String partialCountsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOneBased

        public void setOneBased​(boolean value)
        Sets whether to assume 1-based coordinates in report.
        Parameters:
        value - true if to use 1-based coordinates
      • getOneBased

        public boolean getOneBased()
        Returns whether to assume 1-based coordinates in report.
        Returns:
        true if to use 1-based coordinates
      • oneBasedTipText

        public String oneBasedTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPrefix

        public void setPrefix​(String value)
        Sets the field prefix used in the report.
        Specified by:
        setPrefix in interface ObjectPrefixHandler
        Parameters:
        value - the field prefix
      • prefixTipText

        public String prefixTipText()
        Returns the tip text for this property.
        Specified by:
        prefixTipText in interface ObjectPrefixHandler
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setCheckType

        public void setCheckType​(boolean value)
        Sets whether to check the type as well.
        Parameters:
        value - true if to check
      • getCheckType

        public boolean getCheckType()
        Returns the field suffix for the type used in the report (ignored if empty).
        Returns:
        true if to check
      • checkTypeTipText

        public String checkTypeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTypeSuffix

        public void setTypeSuffix​(String value)
        Sets the field suffix for the type used in the report (ignored if no check).
        Parameters:
        value - the field suffix
      • getTypeSuffix

        public String getTypeSuffix()
        Returns the field suffix for the type used in the report (ignored if no check).
        Returns:
        the field suffix
      • typeSuffixTipText

        public String typeSuffixTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTypeFind

        public void setTypeFind​(BaseRegExp value)
        Sets the regular expression to apply to the type, ignored if no check.
        Parameters:
        value - the expression
      • getTypeFind

        public BaseRegExp getTypeFind()
        Returns the regular expression to apply to the type, ignored if no check.
        Returns:
        the expression
      • typeFindTipText

        public String typeFindTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        the Class of objects that can be processed
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        the Class of the generated tokens
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message