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
fromProjection
from projection
toProjection
to projection
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromEpsg:(int)fromEpsg andToEpsg:(int)toEpsg;
Parameters
fromEpsg
from epsg
toEpsg
to epsg
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromIntCode:(int)fromCode andToAuthority:(NSString *)toAuthority andToIntCode:(int)toCode;
Parameters
fromAuthority
from authority
fromCode
from code
toAuthority
to authority
toCode
to code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;
Parameters
fromAuthority
from authority
fromCode
from code
toAuthority
to authority
toCode
to code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromProjection: (PROJProjection *)fromProjection andToEpsg:(int)toEpsg;
Parameters
fromProjection
from projection
toEpsg
to epsg
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromProjection: (PROJProjection *)fromProjection andToAuthority:(NSString *)toAuthority andToCode:(NSString *)toCode;
Parameters
fromProjection
from projection
toAuthority
to authority
toCode
to code
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromEpsg:(int)fromEpsg andToProjection:(PROJProjection *)toProjection;
Parameters
fromEpsg
from epsg
toProjection
to projection
Return Value
new projection transform
-
Create
Declaration
Objective-C
+ (SFPGeometryTransform *)transformFromAuthority:(NSString *)fromAuthority andFromCode:(NSString *)fromCode andToProjection:(PROJProjection *)toProjection;
Parameters
fromAuthority
from authority
fromCode
from code
toProjection
to 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
fromProjection
from projection
toProjection
to 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
fromEpsg
from epsg
toEpsg
to 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
fromAuthority
from authority
fromCode
from code
toAuthority
to authority
toCode
to 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
fromAuthority
from authority
fromCode
from code
toAuthority
to authority
toCode
to 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
fromProjection
from projection
toEpsg
to 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
fromProjection
from projection
toAuthority
to authority
toCode
to 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
fromEpsg
from epsg
toProjection
to 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
fromAuthority
from authority
fromCode
from code
toProjection
to projection
Return Value
new projection transform
-
Initialize
Declaration
Objective-C
- (instancetype)initWithProjectionTransform: (PROJProjectionTransform *)transform;
Swift
init!(projectionTransform transform: PROJProjectionTransform!)
Parameters
transform
projection transform
Return Value
new projection transform
-
Transform the geometry envelope
Declaration
Objective-C
- (SFGeometryEnvelope *)transformGeometryEnvelope: (SFGeometryEnvelope *)envelope;
Swift
func transform(_ envelope: SFGeometryEnvelope!) -> SFGeometryEnvelope!
Parameters
envelope
geometry envelope
Return Value
geometry envelope
-
Transform the geometry
Declaration
Objective-C
- (SFGeometry *)transformGeometry:(SFGeometry *)geometry;
Swift
func transform(_ geometry: SFGeometry!) -> SFGeometry!
Parameters
geometry
geometry
Return Value
projected geometry
-
Transform the point
Declaration
Parameters
point
point
Return Value
projected point
-
Transform an array of points
Declaration
Parameters
from
points to transform
Return Value
transformed points
-
Transform the line string
Declaration
Objective-C
- (SFLineString *)transformLineString:(SFLineString *)lineString;
Swift
func transform(_ lineString: SFLineString!) -> SFLineString!
Parameters
lineString
line string
Return Value
projected line string
-
Transform the polygon
Declaration
Parameters
polygon
polygon
Return Value
projected polygon
-
Transform the multi point
Declaration
Objective-C
- (SFMultiPoint *)transformMultiPoint:(SFMultiPoint *)multiPoint;
Swift
func transform(_ multiPoint: SFMultiPoint!) -> SFMultiPoint!
Parameters
multiPoint
multi 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
multiLineString
multi 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
multiPolygon
multi polygon
Return Value
projected multi polygon
-
Transform the circular string
Declaration
Objective-C
- (SFCircularString *)transformCircularString: (SFCircularString *)circularString;
Swift
func transform(_ circularString: SFCircularString!) -> SFCircularString!
Parameters
circularString
circular string
Return Value
projected circular string
-
Transform the compound curve
Declaration
Objective-C
- (SFCompoundCurve *)transformCompoundCurve:(SFCompoundCurve *)compoundCurve;
Swift
func transform(_ compoundCurve: SFCompoundCurve!) -> SFCompoundCurve!
Parameters
compoundCurve
compound curve
Return Value
projected compound curve
-
Transform the curve polygon
Declaration
Objective-C
- (SFCurvePolygon *)transformCurvePolygon:(SFCurvePolygon *)curvePolygon;
Swift
func transform(_ curvePolygon: SFCurvePolygon!) -> SFCurvePolygon!
Parameters
curvePolygon
curve polygon
Return Value
projected curve polygon
-
Transform the polyhedrals surface
Declaration
Objective-C
- (SFPolyhedralSurface *)transformPolyhedralSurface: (SFPolyhedralSurface *)polyhedralSurface;
Swift
func transform(_ polyhedralSurface: SFPolyhedralSurface!) -> SFPolyhedralSurface!
Parameters
polyhedralSurface
polyhedrals surface
Return Value
projected polyhedrals surface
-
Transform the tin
Declaration
Parameters
tin
tin
Return Value
projected tin
-
Transform the triangle
Declaration
Objective-C
- (SFTriangle *)transformTriangle:(SFTriangle *)triangle;
Swift
func transform(_ triangle: SFTriangle!) -> SFTriangle!
Parameters
triangle
triangle
Return Value
projected triangle
-
Transform the geometry collection
Declaration
Objective-C
- (SFGeometryCollection *)transformGeometryCollection: (SFGeometryCollection *)geometryCollection;
Swift
func transform(_ geometryCollection: SFGeometryCollection!) -> SFGeometryCollection!
Parameters
geometryCollection
geometry collection
Return Value
projected geometry collection
-
Get the inverse transformation
Declaration
Objective-C
- (SFPGeometryTransform *)inverseTransformation;
Swift
func inverseTransformation() -> SFPGeometryTransform!
Return Value
inverse transformation