public class ProjectionTransform extends Object
| Modifier and Type | Method and Description |
|---|---|
Projection |
getFromProjection()
Get the from projection in the transform
|
ProjectionTransform |
getInverseTransformation()
Get the inverse transformation
|
Projection |
getToProjection()
Get the to projection in the transform
|
org.locationtech.proj4j.CoordinateTransform |
getTransform()
Get the transform
|
boolean |
isSameProjection()
Is the from and to projection the same?
|
double[] |
transform(double x,
double y)
Transform a x and y location
|
Geometry |
transform(Geometry from)
Transform the projected geometry
|
GeometryEnvelope |
transform(GeometryEnvelope envelope)
Transform the geometry envelope
|
List<Point> |
transform(List<Point> from)
Transform a list of points
|
Point |
transform(Point from)
Transform the projected point
|
org.locationtech.proj4j.ProjCoordinate |
transform(org.locationtech.proj4j.ProjCoordinate from)
Transform the projected coordinate
|
public org.locationtech.proj4j.ProjCoordinate transform(org.locationtech.proj4j.ProjCoordinate from)
from - from coordinatepublic Point transform(Point from)
from - pointpublic List<Point> transform(List<Point> from)
from - points to transformpublic Geometry transform(Geometry from)
from - geometrypublic GeometryEnvelope transform(GeometryEnvelope envelope)
envelope - geometry envelopepublic double[] transform(double x,
double y)
x - x coordinatey - y coordinatepublic Projection getFromProjection()
public Projection getToProjection()
public org.locationtech.proj4j.CoordinateTransform getTransform()
public boolean isSameProjection()
public ProjectionTransform getInverseTransformation()
Copyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.