|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.geom.util.AffineTransformationFactory
Supports creating AffineTransformations defined by various kinds of
inputs and transformation mapping rules.
| Constructor Summary | |
AffineTransformationFactory()
|
|
| Method Summary | |
static AffineTransformation |
createFromBaseLines(Coordinate src0,
Coordinate src1,
Coordinate dest0,
Coordinate dest1)
Creates an AffineTransformation defined by a maping between two baselines. |
static AffineTransformation |
createFromControlVectors(Coordinate[] src,
Coordinate[] dest)
Creates an AffineTransformation defined by a set of control vectors. |
static AffineTransformation |
createFromControlVectors(Coordinate src0,
Coordinate dest0)
Creates an AffineTransformation defined by a single control vector. |
static AffineTransformation |
createFromControlVectors(Coordinate src0,
Coordinate src1,
Coordinate dest0,
Coordinate dest1)
Creates an AffineTransformation defined by a pair of control vectors. |
static AffineTransformation |
createFromControlVectors(Coordinate src0,
Coordinate src1,
Coordinate src2,
Coordinate dest0,
Coordinate dest1,
Coordinate dest2)
Creates a tranformation from a set of three control vectors. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AffineTransformationFactory()
| Method Detail |
public static AffineTransformation createFromControlVectors(Coordinate src0,
Coordinate src1,
Coordinate src2,
Coordinate dest0,
Coordinate dest1,
Coordinate dest2)
src0 - src1 - src2 - dest0 - dest1 - dest2 -
public static AffineTransformation createFromControlVectors(Coordinate src0,
Coordinate src1,
Coordinate dest0,
Coordinate dest1)
src0 - src1 - dest0 - dest1 -
public static AffineTransformation createFromControlVectors(Coordinate src0,
Coordinate dest0)
src0 - the start point of the control vectordest0 - the end point of the control vector
public static AffineTransformation createFromControlVectors(Coordinate[] src,
Coordinate[] dest)
src - the source points of the vectorsdest - the destination points of the vectors
java.lang.IllegalArgumentException - if the control vector arrays are too short, long or of different
lengths
public static AffineTransformation createFromBaseLines(Coordinate src0,
Coordinate src1,
Coordinate dest0,
Coordinate dest1)
src0 - the start point of the source baselinesrc1 - the end point of the source baselinedest0 - the start point of the destination baselinedest1 - the end point of the destination baseline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||