GPKGGeometryCrop
Objective-C
@interface GPKGGeometryCrop : NSObject
Swift
class GPKGGeometryCrop : NSObject
Geometry Crop utilities
-
Crop the geometry data with a world map envelope, defined in the provided projection
Declaration
Objective-C
+ (void)cropGeometryData:(GPKGGeometryData *)geometryData inProjection:(PROJProjection *)projection;
Swift
class func cropGeometryData(_ geometryData: GPKGGeometryData!, in projection: PROJProjection!)
Parameters
projection
geometry data and envelope projection
geometryData
geometry data
-
Crop the geometry data with the envelope, both in the provided projection
Declaration
Objective-C
+ (void)cropGeometryData:(GPKGGeometryData *)geometryData withEnvelope:(SFGeometryEnvelope *)envelope inProjection:(PROJProjection *)projection;
Swift
class func cropGeometryData(_ geometryData: GPKGGeometryData!, with envelope: SFGeometryEnvelope!, in projection: PROJProjection!)
Parameters
projection
geometry data and envelope projection
geometryData
geometry data
envelope
geometry envelope
-
Crop the geometry with a world map envelope, defined in the provided projection
Declaration
Objective-C
+ (SFGeometry *)cropGeometry:(SFGeometry *)geometry inProjection:(PROJProjection *)projection;
Swift
class func cropGeometry(_ geometry: SFGeometry!, in projection: PROJProjection!) -> SFGeometry!
Parameters
projection
geometry and envelope projection
geometry
geometry
Return Value
cropped geometry
-
Crop the geometry with the envelope, both in the provided projection
Declaration
Objective-C
+ (SFGeometry *)cropGeometry:(SFGeometry *)geometry withEnvelope:(SFGeometryEnvelope *)envelope inProjection:(PROJProjection *)projection;
Swift
class func cropGeometry(_ geometry: SFGeometry!, with envelope: SFGeometryEnvelope!, in projection: PROJProjection!) -> SFGeometry!
Parameters
projection
geometry and envelope projection
geometry
geometry
envelope
geometry envelope
Return Value
cropped geometry
-
Get a geometry envelope for the projection
Declaration
Objective-C
+ (SFGeometryEnvelope *)envelopeForProjection:(PROJProjection *)projection;
Swift
class func envelope(for projection: PROJProjection!) -> SFGeometryEnvelope!
Parameters
projection
projection
Return Value
envelope