public class GeometryTransform extends ProjectionTransform
ctFactory, fromProjection, toProjection, transform| Constructor and Description |
|---|
GeometryTransform(Projection fromProjection,
Projection toProjection)
Constructor
|
GeometryTransform(ProjectionTransform transform)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryTransform |
create(long fromEpsg,
long toEpsg)
Create a geometry projection transform
|
static GeometryTransform |
create(long fromEpsg,
Projection toProjection)
Create a geometry projection transform
|
static GeometryTransform |
create(Projection fromProjection,
long toEpsg)
Create a geometry projection transform
|
static GeometryTransform |
create(Projection fromProjection,
Projection toProjection)
Create a geometry projection transform
|
static GeometryTransform |
create(Projection fromProjection,
String toAuthority,
long toCode)
Create a geometry projection transform
|
static GeometryTransform |
create(Projection fromProjection,
String toAuthority,
String toCode)
Create a geometry projection transform
|
static GeometryTransform |
create(ProjectionTransform transform)
Create a geometry projection transform
|
static GeometryTransform |
create(String fromAuthority,
long fromCode,
Projection toProjection)
Create a geometry projection transform
|
static GeometryTransform |
create(String fromAuthority,
long fromCode,
String toAuthority,
long toCode)
Create a geometry projection transform
|
static GeometryTransform |
create(String fromAuthority,
String fromCode,
Projection toProjection)
Create a geometry projection transform
|
static GeometryTransform |
create(String fromAuthority,
String fromCode,
String toAuthority,
String toCode)
Create a geometry projection transform
|
GeometryTransform |
getInverseTransformation() |
CircularString |
transform(CircularString circularString)
Transform the projected circular string
|
CompoundCurve |
transform(CompoundCurve compoundCurve)
Transform the projected compound curve
|
<T extends Curve> |
transform(CurvePolygon<T> curvePolygon)
Transform the projected curve polygon
|
Geometry |
transform(Geometry geometry)
Transform the geometry
|
GeometryCollection<Geometry> |
transform(GeometryCollection<Geometry> geometryCollection)
Transform the projected geometry collection
|
GeometryEnvelope |
transform(GeometryEnvelope envelope)
Transform the geometry envelope
|
LineString |
transform(LineString lineString)
Transform the projected line string
|
List<Point> |
transform(List<Point> from)
Transform a list of points
|
MultiLineString |
transform(MultiLineString multiLineString)
Transform the projected multi line string
|
MultiPoint |
transform(MultiPoint multiPoint)
Transform the projected multi point
|
MultiPolygon |
transform(MultiPolygon multiPolygon)
Transform the projected multi polygon
|
Point |
transform(Point from)
Transform the projected point
|
Polygon |
transform(Polygon polygon)
Transform the projected polygon
|
PolyhedralSurface |
transform(PolyhedralSurface polyhedralSurface)
Transform the projected polyhedral surface
|
TIN |
transform(TIN tin)
Transform the projected TIN
|
Triangle |
transform(Triangle triangle)
Transform the projected triangle
|
getFromProjection, getToProjection, getTransform, isSameProjection, transform, transform, transformpublic GeometryTransform(Projection fromProjection, Projection toProjection)
fromProjection - from projectiontoProjection - to projectionpublic GeometryTransform(ProjectionTransform transform)
transform - projection transformpublic static GeometryTransform create(Projection fromProjection, Projection toProjection)
fromProjection - from projectiontoProjection - to projectionpublic static GeometryTransform create(Projection fromProjection, long toEpsg)
fromProjection - from projectiontoEpsg - to epsgpublic static GeometryTransform create(Projection fromProjection, String toAuthority, long toCode)
fromProjection - from projectiontoAuthority - to coordinate authoritytoCode - to coordinate codepublic static GeometryTransform create(Projection fromProjection, String toAuthority, String toCode)
fromProjection - from projectiontoAuthority - to coordinate authoritytoCode - to coordinate codepublic static GeometryTransform create(long fromEpsg, Projection toProjection)
fromEpsg - from epsgtoProjection - to projectionpublic static GeometryTransform create(String fromAuthority, long fromCode, Projection toProjection)
fromAuthority - from coordinate authorityfromCode - from coordinate codetoProjection - to projectionpublic static GeometryTransform create(String fromAuthority, String fromCode, Projection toProjection)
fromAuthority - from coordinate authorityfromCode - from coordinate codetoProjection - to projectionpublic static GeometryTransform create(long fromEpsg, long toEpsg)
fromEpsg - from epsgtoEpsg - to epsgpublic static GeometryTransform create(String fromAuthority, long fromCode, String toAuthority, long toCode)
fromAuthority - from coordinate authorityfromCode - from coordinate codetoAuthority - to coordinate authoritytoCode - to coordinate codepublic static GeometryTransform create(String fromAuthority, String fromCode, String toAuthority, String toCode)
fromAuthority - from coordinate authorityfromCode - from coordinate codetoAuthority - to coordinate authoritytoCode - to coordinate codepublic static GeometryTransform create(ProjectionTransform transform)
transform - projection transformpublic GeometryTransform getInverseTransformation()
getInverseTransformation in class ProjectionTransformpublic GeometryEnvelope transform(GeometryEnvelope envelope)
envelope - geometry envelopepublic Geometry transform(Geometry geometry)
geometry - geometrypublic Point transform(Point from)
from - from pointpublic List<Point> transform(List<Point> from)
from - points to transformpublic LineString transform(LineString lineString)
lineString - line stringpublic Polygon transform(Polygon polygon)
polygon - polygonpublic MultiPoint transform(MultiPoint multiPoint)
multiPoint - multi pointpublic MultiLineString transform(MultiLineString multiLineString)
multiLineString - multi line stringpublic MultiPolygon transform(MultiPolygon multiPolygon)
multiPolygon - multi polygonpublic CircularString transform(CircularString circularString)
circularString - circular stringpublic CompoundCurve transform(CompoundCurve compoundCurve)
compoundCurve - compound curvepublic <T extends Curve> CurvePolygon<T> transform(CurvePolygon<T> curvePolygon)
T - curve typecurvePolygon - curve polygonpublic PolyhedralSurface transform(PolyhedralSurface polyhedralSurface)
polyhedralSurface - polyhedral surfacepublic TIN transform(TIN tin)
tin - TINpublic Triangle transform(Triangle triangle)
triangle - trianglepublic GeometryCollection<Geometry> transform(GeometryCollection<Geometry> geometryCollection)
geometryCollection - geometry collectionCopyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.