com.esri.core.geometry
Class LinearUnit

java.lang.Object
  extended by com.esri.core.geometry.Unit
      extended by com.esri.core.geometry.LinearUnit

public abstract class LinearUnit
extends Unit

Unit for measurement of dimensions.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.core.geometry.Unit
Unit.UnitType
 
Field Summary
 
Fields inherited from class com.esri.core.geometry.Unit
m_factor
 
Constructor Summary
LinearUnit()
           
 
Method Summary
 double convertFromMeters(double meters)
          Converts meters to this LinearUnit.
 Unit.UnitType getUnitType()
          Returns the unit type.
 double toMeters(double thisUnitValue)
          Converts this linear units to meters.
 
Methods inherited from class com.esri.core.geometry.Unit
convertUnits, convertUnits, create, getAbbreviation, getConversionFactor, getDisplayName, getID, getName, getPluralDisplayName, getUnitToBaseFactor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearUnit

public LinearUnit()
Method Detail

getUnitType

public Unit.UnitType getUnitType()
Description copied from class: Unit
Returns the unit type.

Specified by:
getUnitType in class Unit

convertFromMeters

public double convertFromMeters(double meters)
Converts meters to this LinearUnit. \param meters the value in meters to convert. \return The Linear unit value corresponding to the input parameter.


toMeters

public double toMeters(double thisUnitValue)
Converts this linear units to meters. \param thisUnitValue the value in this linear units to convert. \return The value in meters corresponding to the input parameter.



Copyright © 2010. All Rights Reserved.