com.vividsolutions.jump.plugin.edit
Class AffineTransControlPointExtracter
java.lang.Object
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:
- A 2-point vector - parameters will have isometric scaling and no shear
- A 3-point LineString - a general affine transformation will be computed
- (FUTURE) 1, 2 or 3 points, each with a tag value - the affine transformation will be
computed from the mappings between the points.
- Version:
- 1.0
- Author:
- Martin Davis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AffineTransControlPointExtracter
public AffineTransControlPointExtracter(FeatureCollection fcSrc,
FeatureCollection fcDest)
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()