com.esri.core.geometry
Class LinearUnit
java.lang.Object
com.esri.core.geometry.Unit
com.esri.core.geometry.LinearUnit
public abstract class LinearUnit
- extends Unit
Unit for measurement of dimensions.
| Nested classes/interfaces inherited from class com.esri.core.geometry.Unit |
Unit.UnitType |
| Fields inherited from class com.esri.core.geometry.Unit |
m_factor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearUnit
public LinearUnit()
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.