Documentation of 'sgtplot.util.SoTDomain' Java class
SoTDomain
sgtplot.util

Class SoTDomain

  • All Implemented Interfaces:
    java.io.Serializable


    public class SoTDomain
    extends java.lang.Object
    implements java.io.Serializable
    SoTDomain contains the X and Y ranges of a domain in user units. These ranges are SoTRange objects which can be either Space or Time.
    Since:
    sgtplot 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • SoTDomain

        public SoTDomain()
        Default constructor.
      • SoTDomain

        public SoTDomain(Domain domain)
        Construct a SoTDomain from a Domain.
      • SoTDomain

        public SoTDomain(SoTDomain domain)
        Constract a SoTDomain from a SoTDomain
      • SoTDomain

        public SoTDomain(SoTRange xRange,
                         SoTRange yRange)
        Construct a SoTDomain from SoTRanges.
      • SoTDomain

        public SoTDomain(SoTRange xRange,
                         SoTRange yRange,
                         boolean xRev,
                         boolean yRev)
        Since:
        sgtplot 3.0
    • Method Detail

      • setXRange

        public void setXRange(SoTRange xRange)
        Set the x range
      • getXRange

        public SoTRange getXRange()
        Get the x range
      • setYRange

        public void setYRange(SoTRange yRange)
        Set the y range
      • getYRange

        public SoTRange getYRange()
        Get the y range
      • isXTime

        public boolean isXTime()
        Test if the x range is temporal.
      • isYTime

        public boolean isYTime()
        Test if the y range is temporal
      • getCenter

        public SoTPoint getCenter()
        Get the center of the domain.
        Since:
        sgtplot 3.0
      • equals

        public boolean equals(SoTDomain d)
        Test for equality. Both ranges must be equal for equality.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setXReversed

        public void setXReversed(boolean rev)
        Since:
        sgtplot 3.0
      • isXReversed

        public boolean isXReversed()
        Since:
        sgtplot 3.0
      • setYReversed

        public void setYReversed(boolean rev)
        Since:
        sgtplot 3.0
      • isYReversed

        public boolean isYReversed()
        Since:
        sgtplot 3.0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.