com.vividsolutions.jump.plugin.edit
Class AffineTransControlPointExtracter

java.lang.Object
  extended by com.vividsolutions.jump.plugin.edit.AffineTransControlPointExtracter

public class AffineTransControlPointExtracter
extends java.lang.Object

Uses geometry data in two FeatureCollections to extract parameters for an affine transformation. The contents of the layers determines how the parameters are extracted. The layers can contain:

Version:
1.0
Author:
Martin Davis

Field Summary
static int TYPE_LINE_3
           
static int TYPE_UNKNOWN
           
static int TYPE_VECTOR
           
 
Constructor Summary
AffineTransControlPointExtracter(FeatureCollection fcSrc, FeatureCollection fcDest)
           
 
Method Summary
 com.vividsolutions.jts.geom.Coordinate[] getDestControlPoints()
           
 int getInputType()
           
 java.lang.String getParseErrorMessage()
           
 com.vividsolutions.jts.geom.Coordinate[] getSrcControlPoints()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
See Also:
Constant Field Values

TYPE_VECTOR

public static final int TYPE_VECTOR
See Also:
Constant Field Values

TYPE_LINE_3

public static final int TYPE_LINE_3
See Also:
Constant Field Values
Constructor Detail

AffineTransControlPointExtracter

public AffineTransControlPointExtracter(FeatureCollection fcSrc,
                                        FeatureCollection fcDest)
Method Detail

getInputType

public int getInputType()

getParseErrorMessage

public java.lang.String getParseErrorMessage()

getSrcControlPoints

public com.vividsolutions.jts.geom.Coordinate[] getSrcControlPoints()

getDestControlPoints

public com.vividsolutions.jts.geom.Coordinate[] getDestControlPoints()