Class PolygonVertices

    • Field Detail

      • m_Shape

        protected VertexShape m_Shape
        the marker shape.
      • m_Extent

        protected int m_Extent
        the maximum width/height of the shape to plot around the vertices.
      • m_Fallback

        protected boolean m_Fallback
        whether to fallback on bounding box.
      • m_BoundingBoxFallbackRatio

        protected double m_BoundingBoxFallbackRatio
        the ratio used for determining whether to fall back from polygon on bbox.
      • m_PlotSubset

        protected Set<LocatedObject> m_PlotSubset
        the objects to limit the plotting to.
    • Constructor Detail

      • PolygonVertices

        public PolygonVertices()
    • Method Detail

      • setShape

        public void setShape​(VertexShape value)
        Sets the shape to use for vertices.
        Parameters:
        value - the shape
      • getShape

        public VertexShape getShape()
        Returns the shape in use for vertices.
        Returns:
        the shape
      • shapeTipText

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

        public void setExtent​(int value)
        Sets the size of the vertices.
        Parameters:
        value - the extent
      • getExtent

        public int getExtent()
        Returns the size of the vertices.
        Returns:
        the extent
      • extentTipText

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

        public void setFallback​(boolean value)
        Sets whether to fall back on the bounding box if no polygon available.
        Specified by:
        setFallback in interface OptionalBoundingBoxFallbackSupporter
        Parameters:
        value - true if to use
      • setBoundingBoxFallbackRatio

        public void setBoundingBoxFallbackRatio​(double value)
        Sets the ratio between shape area over bbox area. If below the bbox is used instead of the polygon.
        Specified by:
        setBoundingBoxFallbackRatio in interface BoundingBoxFallbackSupporter
        Parameters:
        value - the ratio
      • getBoundingBoxFallbackRatio

        public double getBoundingBoxFallbackRatio()
        Returns the ratio between shape area over bbox area. If below the bbox is used instead of the polygon.
        Specified by:
        getBoundingBoxFallbackRatio in interface BoundingBoxFallbackSupporter
        Returns:
        the ratio