|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMathTransformBuilder
RubberSheetBuilder
public class RubberSheetBuilder
Builds a RubberSheet transformation from a set of control points, defined as a List of MappedPosition objects, and a quadrilateral delimiting the outer area of interest, defined as a List of four DirectPosition objects. An explanation of the RubberSheet transformation algorithm can be seen here.
modules/library/referencing (gt-referencing.jar)
Field Summary |
---|
Fields inherited from class MathTransformBuilder |
---|
mtFactory |
Constructor Summary | |
---|---|
RubberSheetBuilder(List<MappedPosition> vectors,
List<DirectPosition> vertices)
Creates the Builder from a List of control points and a List of four DirectPositions defining the vertexes of the area for interpolation. |
Method Summary | |
---|---|
protected MathTransform |
computeMathTransform()
Returns MathTransform transformation setup as RubberSheet. |
HashMap |
getMapTriangulation()
Returns the map of source and destination triangles. |
int |
getMinimumPointCount()
Returns the minimum number of points required by this builder. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RubberSheetBuilder(List<MappedPosition> vectors, List<DirectPosition> vertices) throws MismatchedSizeException, MismatchedDimensionException, MismatchedReferenceSystemException, TriangulationException
vectors
- A List of MappedPositionvertices
- A List with four points defining the quadrilateral in the region of interest.
MismatchedSizeException
MismatchedDimensionException
MismatchedReferenceSystemException
TriangulationException
Method Detail |
---|
public int getMinimumPointCount()
getMinimumPointCount
in class MathTransformBuilder
public HashMap getMapTriangulation()
protected MathTransform computeMathTransform() throws FactoryException
computeMathTransform
in class MathTransformBuilder
FactoryException
- when the size of source and destination point
is not the same.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |