Constants
The following constants are available globally.
-
Geometry type names
Declaration
Objective-C
extern NSString *const SF_GEOMETRY_NAME
Swift
let SF_GEOMETRY_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_POINT_NAME
Swift
let SF_POINT_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_LINESTRING_NAME
Swift
let SF_LINESTRING_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_POLYGON_NAME
Swift
let SF_POLYGON_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_MULTIPOINT_NAME
Swift
let SF_MULTIPOINT_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_MULTILINESTRING_NAME
Swift
let SF_MULTILINESTRING_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_MULTIPOLYGON_NAME
Swift
let SF_MULTIPOLYGON_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_GEOMETRYCOLLECTION_NAME
Swift
let SF_GEOMETRYCOLLECTION_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_CIRCULARSTRING_NAME
Swift
let SF_CIRCULARSTRING_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_COMPOUNDCURVE_NAME
Swift
let SF_COMPOUNDCURVE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_CURVEPOLYGON_NAME
Swift
let SF_CURVEPOLYGON_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_MULTICURVE_NAME
Swift
let SF_MULTICURVE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_MULTISURFACE_NAME
Swift
let SF_MULTISURFACE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_CURVE_NAME
Swift
let SF_CURVE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_SURFACE_NAME
Swift
let SF_SURFACE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_POLYHEDRALSURFACE_NAME
Swift
let SF_POLYHEDRALSURFACE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_TIN_NAME
Swift
let SF_TIN_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_TRIANGLE_NAME
Swift
let SF_TRIANGLE_NAME: String
-
Undocumented
Declaration
Objective-C
extern NSString * const SF_NONE_NAME
Swift
let SF_NONE_NAME: String
-
Default read byte order
Declaration
Objective-C
static CFByteOrder DEFAULT_READ_BYTE_ORDER = CFByteOrderBigEndian
Swift
var DEFAULT_READ_BYTE_ORDER: CFByteOrder
-
Default write byte order
Declaration
Objective-C
static CFByteOrder DEFAULT_WRITE_BYTE_ORDER = CFByteOrderBigEndian
Swift
var DEFAULT_WRITE_BYTE_ORDER: CFByteOrder
-
Default epsilon for point in or on line tolerance
Declaration
Objective-C
extern const double SF_DEFAULT_LINE_EPSILON
Swift
let SF_DEFAULT_LINE_EPSILON: Double
-
Default epsilon for point equality
Declaration
Objective-C
extern const double SF_DEFAULT_EQUAL_EPSILON
Swift
let SF_DEFAULT_EQUAL_EPSILON: Double
-
Web Mercator Latitude Range
Declaration
Objective-C
extern const double SF_WEB_MERCATOR_MAX_LAT_RANGE
Swift
let SF_WEB_MERCATOR_MAX_LAT_RANGE: Double
-
Web Mercator Latitude Range
Declaration
Objective-C
extern const double SF_WEB_MERCATOR_MIN_LAT_RANGE
Swift
let SF_WEB_MERCATOR_MIN_LAT_RANGE: Double
-
Half the world distance in either direction
Declaration
Objective-C
extern const double SF_WEB_MERCATOR_HALF_WORLD_WIDTH
Swift
let SF_WEB_MERCATOR_HALF_WORLD_WIDTH: Double
-
Half the world longitude width for WGS84
Declaration
Objective-C
extern const double SF_WGS84_HALF_WORLD_LON_WIDTH
Swift
let SF_WGS84_HALF_WORLD_LON_WIDTH: Double
-
Half the world latitude height for WGS84
Declaration
Objective-C
extern const double SF_WGS84_HALF_WORLD_LAT_HEIGHT
Swift
let SF_WGS84_HALF_WORLD_LAT_HEIGHT: Double
-
Minimum latitude degrees value convertible to meters
Declaration
Objective-C
extern const double SF_DEGREES_TO_METERS_MIN_LAT
Swift
let SF_DEGREES_TO_METERS_MIN_LAT: Double
-
Absolute north bearing in degrees
Declaration
Objective-C
extern const double SF_BEARING_NORTH
Swift
let SF_BEARING_NORTH: Double
-
Absolute east bearing in degrees
Declaration
Objective-C
extern const double SF_BEARING_EAST
Swift
let SF_BEARING_EAST: Double
-
Absolute south bearing in degrees
Declaration
Objective-C
extern const double SF_BEARING_SOUTH
Swift
let SF_BEARING_SOUTH: Double
-
Absolute west bearing degrees
Declaration
Objective-C
extern const double SF_BEARING_WEST
Swift
let SF_BEARING_WEST: Double
-
Radians to Degrees conversion
Declaration
Objective-C
extern const double SF_RADIANS_TO_DEGREES
Swift
let SF_RADIANS_TO_DEGREES: Double
-
Degrees to Radians conversion
Declaration
Objective-C
extern const double SF_DEGREES_TO_RADIANS
Swift
let SF_DEGREES_TO_RADIANS: Double
-
Earth radius in meters (WGS84)
Declaration
Objective-C
extern const double SF_EARTH_RADIUS
Swift
let SF_EARTH_RADIUS: Double