ToString() public static method

public static ToString ( float val ) : String
val float
return String
Example #1
0
 override public string ToString()
 {
     return("affine [" + MathUtil.ToString(m00) + " " + MathUtil.ToString(m01) + " " +
            MathUtil.ToString(m10) + " " + MathUtil.ToString(m11) + " " + this.Translation + "]");
 }
Example #2
0
 /**
  * Returns a string describing the supplied vector, of the form <code>+x+y</code>,
  * <code>+x-y</code>, <code>-x-y</code>, etc.
  */
 public static String VectorToString(float x, float y)
 {
     return(MathUtil.ToString(x) + MathUtil.ToString(y));
 }
Example #3
0
 /**
  * Returns a string describing the supplied point, of the form <code>+x+y</code>,
  * <code>+x-y</code>, <code>-x-y</code>, etc.
  */
 public static String PointToString(float x, float y)
 {
     return(MathUtil.ToString(x) + MathUtil.ToString(y));
 }