createFromControlVectors3 static method
AffineTransformation?
createFromControlVectors3(
- Coordinate src0,
- Coordinate src1,
- Coordinate src2,
- Coordinate dest0,
- Coordinate dest1,
- Coordinate dest2,
- Creates a transformation from a set of three control vectors. A control
- vector consists of a source point and a destination point, which is the
- image of the source point under the desired transformation. Three control
- vectors allows defining a fully general affine transformation.
- @param src0
- @param src1
- @param src2
- @param dest0
- @param dest1
- @param dest2
- @return the computed transformation
- vector consists of a source point and a destination point, which is the
Implementation
static AffineTransformation? createFromControlVectors3(
Coordinate src0,
Coordinate src1,
Coordinate src2,
Coordinate dest0,
Coordinate dest1,
Coordinate dest2) {
AffineTransformationBuilder builder =
new AffineTransformationBuilder(src0, src1, src2, dest0, dest1, dest2);
return builder.getTransformation();
}