Package org.meteoinfo.projection
Class Reproject
- java.lang.Object
-
- org.meteoinfo.projection.Reproject
-
public class Reproject extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Reproject()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PointDreprojectPoint(PointD point, ProjectionInfo source, ProjectionInfo dest)Reproject a pointstatic voidreprojectPoints(double[][] points, ProjectionInfo source, ProjectionInfo dest)Reproject a pointstatic voidreprojectPoints(double[][] points, ProjectionInfo source, ProjectionInfo dest, int startIndex, int numPoints)Reproject points
-
-
-
Method Detail
-
reprojectPoint
public static PointD reprojectPoint(PointD point, ProjectionInfo source, ProjectionInfo dest)
Reproject a point- Parameters:
point- The pointsource- Source projection infodest- Destination projection info- Returns:
- Projected point
-
reprojectPoints
public static void reprojectPoints(double[][] points, ProjectionInfo source, ProjectionInfo dest)Reproject a point- Parameters:
points- The pointssource- Source projection infodest- Destination projection info
-
reprojectPoints
public static void reprojectPoints(double[][] points, ProjectionInfo source, ProjectionInfo dest, int startIndex, int numPoints)Reproject points- Parameters:
points- The pointssource- Source projection infodest- Destination projection infostartIndex- Start indexnumPoints- Point number
-
-