Class SDODimElement


  • public class SDODimElement
    extends java.lang.Object
    This class contains information regarding a spatial dimension such as boundaries and tolerance.
    • Constructor Summary

      Constructors 
      Constructor Description
      SDODimElement​(java.lang.String dimName, double lowerBound, double upperBound, double tolerance)
      Allocates a new instance initialized with the given values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SDODimElement createCopy()
      Returns a copy of the object.
      boolean equals​(java.lang.Object anObj)  
      java.lang.String getDimName()
      Gets the dimension's name
      double getLowerBound()
      Gets the dimension's lower boundary
      double getTolerance()
      Gets the dimension's tolerance value
      double getUpperBound()
      Gets the dimension's upper boundary
      void setDimName​(java.lang.String dimName)
      Sets the dimension's name
      void setLowerBound​(double lowerBound)
      Sets the dimension's lower boundary
      void setTolerance​(double tolerance)
      Sets the dimension's tolerance value
      void setUpperBound​(double upperBound)
      Sets the dimension's upper boundary
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • SDODimElement

        public SDODimElement​(java.lang.String dimName,
                             double lowerBound,
                             double upperBound,
                             double tolerance)
        Allocates a new instance initialized with the given values.
        Parameters:
        dimName - the dimension name
        lowerBound - the dimension lower boundary
        upperBound - the dimension upper boundary
        tolerance - the tolerance
    • Method Detail

      • getDimName

        public java.lang.String getDimName()
        Gets the dimension's name
        Returns:
        the dimension's name
      • setDimName

        public void setDimName​(java.lang.String dimName)
        Sets the dimension's name
        Parameters:
        dimName - the dimension's name
      • getLowerBound

        public double getLowerBound()
        Gets the dimension's lower boundary
        Returns:
        the dimension's lower boundary
      • setLowerBound

        public void setLowerBound​(double lowerBound)
        Sets the dimension's lower boundary
        Parameters:
        lowerBound - the dimension's lower boundary
      • getUpperBound

        public double getUpperBound()
        Gets the dimension's upper boundary
        Returns:
        the dimension's upper boundary
      • setUpperBound

        public void setUpperBound​(double upperBound)
        Sets the dimension's upper boundary
        Parameters:
        upperBound - the dimension's upper boundary
      • getTolerance

        public double getTolerance()
        Gets the dimension's tolerance value
        Returns:
        the dimension's tolerance value
      • setTolerance

        public void setTolerance​(double tolerance)
        Sets the dimension's tolerance value
        Parameters:
        tolerance - the dimension's tolerance value
      • toString

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

        public SDODimElement createCopy()
        Returns a copy of the object.
        Returns:
        copy of the object
      • equals

        public boolean equals​(java.lang.Object anObj)
        Overrides:
        equals in class java.lang.Object