Documentation of 'ext.plantuml.com.ctreber.acearth.util.Toolkit' Java class
Toolkit
ext.plantuml.com.ctreber.acearth.util

Class Toolkit



  • public class Toolkit
    extends java.lang.Object

    Some tools.

    © 2002 Christian Treber, ct@ctreber.com

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static double HALFPI 
      static double PI 
      static double TWOPI 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Toolkit() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double degsToRads(double pDegrees) 
      static double fmod(double pValue, double pMod)
      Verified.
      static double fmod(double pValue, double pMinValue, double pMaxValue)
      Examples: min -2, max 2: range 4 value 1: lFact = 0 value 3: lFact = 1, value -1 value 9: lFact = 2, value 1 value -3: lFact = -1, value 1
      static java.lang.String intelligentCapitalize(java.lang.String pText)
      Capitalize String.
      static double limitRads(double x)
      Force an angular value into the range [-PI, +PI]
      static double radsToDegs(double pRadians) 
      • Methods inherited from class java.lang.Object

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

      • Toolkit

        public Toolkit()
    • Method Detail

      • degsToRads

        public static double degsToRads(double pDegrees)
      • radsToDegs

        public static double radsToDegs(double pRadians)
      • limitRads

        public static double limitRads(double x)
        Force an angular value into the range [-PI, +PI]
      • fmod

        public static double fmod(double pValue,
                                  double pMod)

        Verified.

      • fmod

        public static double fmod(double pValue,
                                  double pMinValue,
                                  double pMaxValue)

        Examples: min -2, max 2: range 4

        • value 1: lFact = 0
        • value 3: lFact = 1, value -1
        • value 9: lFact = 2, value 1
        • value -3: lFact = -1, value 1
      • intelligentCapitalize

        public static java.lang.String intelligentCapitalize(java.lang.String pText)

        Capitalize String. Uppercase words smaller/equal than 3 chars, lowercase defined exceptions. Capitalize within word after '.' and '-'. Capitalize all others.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.