public class UTMGCT extends AbstractGCT implements GeoCoordTransformation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ElliposoidProperty |
protected Ellipsoid |
ellipsoid |
static java.lang.String |
HemiProperty |
protected LatLonPoint |
tmpLL |
protected UTMPoint |
tmpUTM |
protected char |
zone_letter |
protected int |
zone_number |
static java.lang.String |
ZoneProperty |
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
UTMGCT()
Make sure you call setProperties() or set the UTM before trying to use
this object.
|
UTMGCT(int zone_number,
char zone_letter) |
UTMGCT(UTMPoint utmPoint) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
forward(double lat,
double lon,
java.awt.geom.Point2D ret) |
Ellipsoid |
getEllipsoid() |
java.util.Properties |
getProperties(java.util.Properties props)
PropertyConsumer method, to fill in a Properties object, reflecting the
current values of the OMComponent.
|
java.util.Properties |
getPropertyInfo(java.util.Properties props)
Method to fill in a Properties object with values reflecting the
properties able to be set on this PropertyConsumer.
|
UTMPoint |
getUtm() |
LatLonPoint |
inverse(double x,
double y,
LatLonPoint ret) |
void |
setEllipsoid(Ellipsoid ellipsoid) |
void |
setProperties(java.lang.String propertyPrefix,
java.util.Properties props)
Sets the properties for the OMComponent.
|
void |
setUtm(UTMPoint utm) |
forward, inverse
getPropertyPrefix, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forward, inverse
public static final java.lang.String ZoneProperty
public static final java.lang.String HemiProperty
public static final java.lang.String ElliposoidProperty
protected Ellipsoid ellipsoid
protected LatLonPoint tmpLL
protected UTMPoint tmpUTM
protected int zone_number
protected char zone_letter
public UTMGCT()
public UTMGCT(int zone_number, char zone_letter)
public UTMGCT(UTMPoint utmPoint)
public UTMPoint getUtm()
public void setUtm(UTMPoint utm)
public java.awt.geom.Point2D forward(double lat, double lon, java.awt.geom.Point2D ret)
forward
in interface GeoCoordTransformation
forward
in class AbstractGCT
public LatLonPoint inverse(double x, double y, LatLonPoint ret)
inverse
in interface GeoCoordTransformation
inverse
in class AbstractGCT
public void setProperties(java.lang.String propertyPrefix, java.util.Properties props)
OMComponent
setProperties
in interface PropertyConsumer
setProperties
in class OMComponent
propertyPrefix
- the token to prefix the property namesprops
- the Properties
objectpublic java.util.Properties getProperties(java.util.Properties props)
OMComponent
getProperties
in interface PropertyConsumer
getProperties
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If props equals null, then a new Properties object should be
created.public java.util.Properties getPropertyInfo(java.util.Properties props)
OMComponent
getPropertyInfo
in interface PropertyConsumer
getPropertyInfo
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If getList equals null, then a new Properties object should
be created.public Ellipsoid getEllipsoid()
public void setEllipsoid(Ellipsoid ellipsoid)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details