SFPGeometryTransform
Objective-C
@interface SFPGeometryTransform : PROJProjectionTransform
Swift
class SFPGeometryTransform : PROJProjectionTransform
Geometry Projection Transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *) transformFromProjection:(PROJProjection *)fromProjection andToProjection:(PROJProjection *)toProjection;Parameters
fromProjectionfrom projection
toProjectionto projection
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromEpsg:(int)fromEpsg andToEpsg:(int)toEpsg;Parameters
fromEpsgfrom epsg
toEpsgto epsg
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromIntCode:(int)fromCode andToAuthority:(NSString *)toAuthority andToIntCode:(int)toCode;Parameters
fromAuthorityfrom authority
fromCodefrom code
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;Parameters
fromAuthorityfrom authority
fromCodefrom code
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromProjection: (PROJProjection *)fromProjection andToEpsg:(int)toEpsg;Parameters
fromProjectionfrom projection
toEpsgto epsg
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromProjection: (PROJProjection *)fromProjection andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;Parameters
fromProjectionfrom projection
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromEpsg:(int)fromEpsg andToProjection:(PROJProjection *)toProjection;Parameters
fromEpsgfrom epsg
toProjectionto projection
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToProjection:(PROJProjection *)toProjection;Parameters
fromAuthorityfrom authority
fromCodefrom code
toProjectionto projection
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromProjection:(PROJProjection *)fromProjection andToProjection:(PROJProjection *)toProjection;Swift
init!(from fromProjection: PROJProjection!, andTo toProjection: PROJProjection!)Parameters
fromProjectionfrom projection
toProjectionto projection
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromEpsg:(int)fromEpsg andToEpsg:(int)toEpsg;Swift
init!(fromEpsg: Int32, andToEpsg toEpsg: Int32)Parameters
fromEpsgfrom epsg
toEpsgto epsg
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromAuthority:(NSString *)fromAuthority andFromIntCode:(int)fromCode andToAuthority:(NSString *)toAuthority andToIntCode:(int)toCode;Swift
init!(fromAuthority: String!, andFromIntCode fromCode: Int32, andToAuthority toAuthority: String!, andToIntCode toCode: Int32)Parameters
fromAuthorityfrom authority
fromCodefrom code
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;Swift
init!(fromAuthority: String!, andFromCode fromCode: String!, andToAuthority toAuthority: String!, andToCode toCode: String!)Parameters
fromAuthorityfrom authority
fromCodefrom code
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromProjection:(PROJProjection *)fromProjection andToEpsg:(int)toEpsg;Swift
init!(from fromProjection: PROJProjection!, andToEpsg toEpsg: Int32)Parameters
fromProjectionfrom projection
toEpsgto epsg
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromProjection:(PROJProjection *)fromProjection andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;Swift
init!(from fromProjection: PROJProjection!, andToAuthority toAuthority: String!, andToCode toCode: String!)Parameters
fromProjectionfrom projection
toAuthorityto authority
toCodeto code
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromEpsg:(int)fromEpsg andToProjection:(PROJProjection *)toProjection;Swift
init!(fromEpsg: Int32, andTo toProjection: PROJProjection!)Parameters
fromEpsgfrom epsg
toProjectionto projection
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToProjection:(PROJProjection *)toProjection;Swift
init!(fromAuthority: String!, andFromCode fromCode: String!, andTo toProjection: PROJProjection!)Parameters
fromAuthorityfrom authority
fromCodefrom code
toProjectionto projection
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithProjectionTransform: (PROJProjectionTransform *)transform;Swift
init!(projectionTransform transform: PROJProjectionTransform!)Parameters
transformprojection transform
Return Value
new projection transform
-
Transform the geometry envelope
Declaration
Objective-C
- (SFGeometryEnvelope *)transformGeometryEnvelope: (SFGeometryEnvelope *)envelope;Swift
func transform(_ envelope: SFGeometryEnvelope!) -> SFGeometryEnvelope!Parameters
envelopegeometry envelope
Return Value
geometry envelope
-
Transform the geometry
Declaration
Objective-C
- (SFGeometry *)transformGeometry:(SFGeometry *)geometry;Swift
func transform(_ geometry: SFGeometry!) -> SFGeometry!Parameters
geometrygeometry
Return Value
projected geometry
-
Transform the point
Declaration
Parameters
pointpoint
Return Value
projected point
-
Transform an array of points
Declaration
Parameters
frompoints to transform
Return Value
transformed points
-
Transform the line string
Declaration
Objective-C
- (SFLineString *)transformLineString:(SFLineString *)lineString;Swift
func transform(_ lineString: SFLineString!) -> SFLineString!Parameters
lineStringline string
Return Value
projected line string
-
Transform the polygon
Declaration
Parameters
polygonpolygon
Return Value
projected polygon
-
Transform the multi point
Declaration
Objective-C
- (SFMultiPoint *)transformMultiPoint:(SFMultiPoint *)multiPoint;Swift
func transform(_ multiPoint: SFMultiPoint!) -> SFMultiPoint!Parameters
multiPointmulti point
Return Value
projected multi point
-
Transform the multi line string
Declaration
Objective-C
- (SFMultiLineString *)transformMultiLineString: (SFMultiLineString *)multiLineString;Swift
func transform(_ multiLineString: SFMultiLineString!) -> SFMultiLineString!Parameters
multiLineStringmulti line string
Return Value
projected multi line string
-
Transform the multi polygon
Declaration
Objective-C
- (SFMultiPolygon *)transformMultiPolygon:(SFMultiPolygon *)multiPolygon;Swift
func transform(_ multiPolygon: SFMultiPolygon!) -> SFMultiPolygon!Parameters
multiPolygonmulti polygon
Return Value
projected multi polygon
-
Transform the circular string
Declaration
Objective-C
- (SFCircularString *)transformCircularString: (SFCircularString *)circularString;Swift
func transform(_ circularString: SFCircularString!) -> SFCircularString!Parameters
circularStringcircular string
Return Value
projected circular string
-
Transform the compound curve
Declaration
Objective-C
- (SFCompoundCurve *)transformCompoundCurve:(SFCompoundCurve *)compoundCurve;Swift
func transform(_ compoundCurve: SFCompoundCurve!) -> SFCompoundCurve!Parameters
compoundCurvecompound curve
Return Value
projected compound curve
-
Transform the curve polygon
Declaration
Objective-C
- (SFCurvePolygon *)transformCurvePolygon:(SFCurvePolygon *)curvePolygon;Swift
func transform(_ curvePolygon: SFCurvePolygon!) -> SFCurvePolygon!Parameters
curvePolygoncurve polygon
Return Value
projected curve polygon
-
Transform the polyhedrals surface
Declaration
Objective-C
- (SFPolyhedralSurface *)transformPolyhedralSurface: (SFPolyhedralSurface *)polyhedralSurface;Swift
func transform(_ polyhedralSurface: SFPolyhedralSurface!) -> SFPolyhedralSurface!Parameters
polyhedralSurfacepolyhedrals surface
Return Value
projected polyhedrals surface
-
Transform the tin
Declaration
Parameters
tintin
Return Value
projected tin
-
Transform the triangle
Declaration
Objective-C
- (SFTriangle *)transformTriangle:(SFTriangle *)triangle;Swift
func transform(_ triangle: SFTriangle!) -> SFTriangle!Parameters
triangletriangle
Return Value
projected triangle
-
Transform the geometry collection
Declaration
Objective-C
- (SFGeometryCollection *)transformGeometryCollection: (SFGeometryCollection *)geometryCollection;Swift
func transform(_ geometryCollection: SFGeometryCollection!) -> SFGeometryCollection!Parameters
geometryCollectiongeometry collection
Return Value
projected geometry collection
-
Get the inverse transformation
Declaration
Objective-C
- (SFPGeometryTransform *)inverseTransformation;Swift
func inverseTransformation() -> SFPGeometryTransform!Return Value
inverse transformation
View on GitHub
SFPGeometryTransform Class Reference