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
projectiongeometry data and envelope projection
geometryDatageometry 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
projectiongeometry data and envelope projection
geometryDatageometry data
envelopegeometry 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
projectiongeometry and envelope projection
geometrygeometry
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
projectiongeometry and envelope projection
geometrygeometry
envelopegeometry 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
projectionprojection
Return Value
envelope
View on GitHub
GPKGGeometryCrop Class Reference