igeo
Class IUnit

java.lang.Object
  extended by igeo.IUnit

public class IUnit
extends java.lang.Object

Unit of geometries in a server

Author:
Satoru Sugihara

Nested Class Summary
static class IUnit.Type
           
 
Field Summary
 IUnit.Type type
           
 
Constructor Summary
IUnit()
           
IUnit(IUnit.Type type)
           
IUnit(java.lang.String name)
           
 
Method Summary
static java.lang.String name(IUnit.Type unit)
           
static double scale(IUnit.Type unit)
           
 java.lang.String toString()
           
static IUnit.Type type(java.lang.String name)
          convert name to type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public IUnit.Type type
Constructor Detail

IUnit

public IUnit()

IUnit

public IUnit(IUnit.Type type)

IUnit

public IUnit(java.lang.String name)
Method Detail

scale

public static double scale(IUnit.Type unit)

name

public static java.lang.String name(IUnit.Type unit)

type

public static IUnit.Type type(java.lang.String name)
convert name to type


toString

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