Class ClipLine



  • public class ClipLine
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClipLine​()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getValue​()
      Get value
      boolean isExtentCross​(Extent aExtent)
      Determine if an extent is cross
      boolean isExtentInside​(Extent aExtent)
      Determine if an extent is inside
      boolean isInside​(PointD aPoint)
      Determine if a point is inside
      boolean isLeftOrTop​()
      Get if is left (longitude) or top (latitude)
      boolean isLongitude​()
      Get if is longitude
      void setLeftOrTop​(boolean istrue)
      Set if is left (longitude) or top (latitude)
      void setLongitude​(boolean istrue)
      Set if is longitude
      void setValue​(double value)
      Set value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClipLine

        public ClipLine​()
        Constructor
    • Method Detail

      • getValue

        public double getValue​()
        Get value
        Returns:
        Value
      • setValue

        public void setValue​(double value)
        Set value
        Parameters:
        value - Value
      • isLongitude

        public boolean isLongitude​()
        Get if is longitude
        Returns:
        Boolean
      • setLongitude

        public void setLongitude​(boolean istrue)
        Set if is longitude
        Parameters:
        istrue - Boolean
      • isLeftOrTop

        public boolean isLeftOrTop​()
        Get if is left (longitude) or top (latitude)
        Returns:
        Boolean
      • setLeftOrTop

        public void setLeftOrTop​(boolean istrue)
        Set if is left (longitude) or top (latitude)
        Parameters:
        istrue -
      • isInside

        public boolean isInside​(PointD aPoint)
        Determine if a point is inside
        Parameters:
        aPoint - The Point
        Returns:
        If is inside
      • isExtentCross

        public boolean isExtentCross​(Extent aExtent)
        Determine if an extent is cross
        Parameters:
        aExtent - The extent
        Returns:
        Is extent cross
      • isExtentInside

        public boolean isExtentInside​(Extent aExtent)
        Determine if an extent is inside
        Parameters:
        aExtent - The extent
        Returns:
        Is extent inside