com.bbn.openmap.proj.coords
Class MultiGCT

java.lang.Object
  extended by com.bbn.openmap.MapHandlerChild
      extended by com.bbn.openmap.OMComponent
          extended by com.bbn.openmap.proj.coords.AbstractGCT
              extended by com.bbn.openmap.proj.coords.MultiGCT
All Implemented Interfaces:
LightMapHandlerChild, GeoCoordTransformation, PropertyConsumer, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener

public class MultiGCT
extends AbstractGCT

A GeoCoordTransformation consisting of an ordered list of other GeoCoordTransformation.

The forward methods perform the GeoCoordTransformations in the given order. The inverse methods in the opposite order.


Field Summary
 
Fields inherited from class com.bbn.openmap.OMComponent
i18n, propertyPrefix
 
Fields inherited from class com.bbn.openmap.MapHandlerChild
beanContextChildSupport, isolated
 
Fields inherited from interface com.bbn.openmap.PropertyConsumer
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
 
Constructor Summary
MultiGCT(GeoCoordTransformation[] gcts)
           
 
Method Summary
 java.awt.geom.Point2D forward(double lat, double lon, java.awt.geom.Point2D ret)
           
 LatLonPoint inverse(double x, double y, LatLonPoint ret)
           
 
Methods inherited from class com.bbn.openmap.proj.coords.AbstractGCT
forward, inverse
 
Methods inherited from class com.bbn.openmap.OMComponent
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix
 
Methods inherited from class com.bbn.openmap.MapHandlerChild
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGCT

public MultiGCT(GeoCoordTransformation[] gcts)
Method Detail

forward

public java.awt.geom.Point2D forward(double lat,
                                     double lon,
                                     java.awt.geom.Point2D ret)
Specified by:
forward in interface GeoCoordTransformation
Specified by:
forward in class AbstractGCT

inverse

public LatLonPoint inverse(double x,
                           double y,
                           LatLonPoint ret)
Specified by:
inverse in interface GeoCoordTransformation
Specified by:
inverse in class AbstractGCT


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details