PROJ_UNIT_INFO
Objective-C
struct {}
Swift
struct PROJ_UNIT_INFO
\brief Structure given description of a unit. *
- This structure may grow over time, and should not be directly allocated by
- client code.
- @since 7.1
-
Authority name.
Declaration
Objective-C
char *auth_name
Swift
var auth_name: UnsafeMutablePointer<CChar>!
-
Object code.
Declaration
Objective-C
char *code
Swift
var code: UnsafeMutablePointer<CChar>!
-
Object name. For example “metre”, “US survey foot”, etc.
Declaration
Objective-C
char *name
Swift
var name: UnsafeMutablePointer<CChar>!
-
Category of the unit: one of “linear”, “linear_per_time”, “angular”, * “angular_per_time”, “scale”, “scale_per_time” or “time”
Declaration
Objective-C
char *category
Swift
var category: UnsafeMutablePointer<CChar>!
-
Conversion factor to apply to transform from that unit to the * corresponding SI unit (metre for “linear”, radian for “angular”, etc.). * It might be 0 in some cases to indicate no known conversion factor.
Declaration
Objective-C
double conv_factor
Swift
var conv_factor: Double
-
PROJ short name, like “m”, “ft”, “us-ft”, etc… Might be NULL
Declaration
Objective-C
char *proj_short_name
Swift
var proj_short_name: UnsafeMutablePointer<CChar>!
-
Whether the object is deprecated
Declaration
Objective-C
int deprecated
Swift
var deprecated: Int32