| java.lang.Object org.geotools.referencing.operation.builder.MapTriangulationFactory
MapTriangulationFactory | class MapTriangulationFactory (Code) | | Implements methods for triangulation for
transformation.
since: 2.4 version: $Id: MapTriangulationFactory.java 28966 2008-01-27 17:36:43Z acuster $ author: Jan Jezek |
Method Summary | |
protected MappedPosition | generateCoordFromNearestOne(DirectPosition x, List vertices) Calculate the destination position for the quad vertex as source
position using the difference between nearest source and destination
point pair.
Parameters: x - the original coordinate. Parameters: vertices - List of the MappedPosition. | public Map | getTriangleMap() Generates map of source and destination triangles. | protected MappedPosition | nearestMappedCoordinate(DirectPosition dp, List vertices) Returns the nearest MappedPosition to specified point P.
Parameters: dp - P point. Parameters: vertices - the List of MappedCoordinates. |
generateCoordFromNearestOne | protected MappedPosition generateCoordFromNearestOne(DirectPosition x, List vertices)(Code) | | Calculate the destination position for the quad vertex as source
position using the difference between nearest source and destination
point pair.
Parameters: x - the original coordinate. Parameters: vertices - List of the MappedPosition. MappedPosition from the original and new coordinate, so thedifference between them is the same as for the nearest oneMappedPosition. It is used for calculating destination quad. |
nearestMappedCoordinate | protected MappedPosition nearestMappedCoordinate(DirectPosition dp, List vertices)(Code) | | Returns the nearest MappedPosition to specified point P.
Parameters: dp - P point. Parameters: vertices - the List of MappedCoordinates. the MappedPosition to the x Coordinate. |
|
|