Class RotationAngle.StaticRotationAngle

    • Field Detail

      • angle

        private final double angle
    • Method Detail

      • getRotationAngle

        public double getRotationAngle​(IPrimitive p)
        Description copied from interface: RotationAngle
        Calculates the rotation angle depending on the primitive to be displayed.
        Specified by:
        getRotationAngle in interface RotationAngle
        Parameters:
        p - primitive
        Returns:
        rotation angle in radians, clockwise starting from up/north
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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