RGLMeasureSystem

Objective-C

enum RGLMeasureSystem : NSInteger {}

Swift

enum MeasureSystem : Int, @unchecked Sendable

The constants of the enumeration identify the system for measuring distances and weight

  • The Metric System of Measurement, which uses the measuring units such as meters and grams and adds prefixes like kilo, milli and centi to count orders of magnitude.

    Declaration

    Objective-C

    RGLMeasureSystemMetric = 0

    Swift

    case metric = 0
  • The Imperial System of Measurement, where things are measured in feet, inches and pounds.

    Declaration

    Objective-C

    RGLMeasureSystemImperial = 1

    Swift

    case imperial = 1