SFPProjectionGeometryUtils
Objective-C
@interface SFPProjectionGeometryUtils : NSObject
Swift
class SFPProjectionGeometryUtils : NSObject
Projection Geometry Utilities
-
Create a geodesic path of a points in the projection with a max distance between any two path points
Declaration
Objective-C
+ (NSArray<SFPoint *> *)geodesicPathOfPoints:(NSArray<SFPoint *> *)points withMaxDistance:(double)maxDistance inProjection:(PROJProjection *)projection;
Swift
class func geodesicPath(of points: [SFPoint]!, withMaxDistance maxDistance: Double, in projection: PROJProjection!) -> [SFPoint]!
Parameters
points
points in the projection
maxDistance
max distance allowed between path points
projection
projection of the points
Return Value
geodesic path of points
-
Expand the vertical bounds of a geometry envelope in the projection by including geodesic bounds
Declaration
Objective-C
+ (SFGeometryEnvelope *)geodesicEnvelope:(SFGeometryEnvelope *)envelope inProjection:(PROJProjection *)projection;
Swift
class func geodesicEnvelope(_ envelope: SFGeometryEnvelope!, in projection: PROJProjection!) -> SFGeometryEnvelope!
Parameters
envelope
geometry envelope
projection
projection of the envelope
Return Value
geodesic expanded geometry envelope