#import // NOLINTNEXTLINE(modernize-use-using) typedef enum { MBXGeometryType_Empty NS_SWIFT_NAME(GeometryType_Empty), MBXGeometryType_Point NS_SWIFT_NAME(GeometryType_Point), MBXGeometryType_Line NS_SWIFT_NAME(GeometryType_Line), MBXGeometryType_Polygon NS_SWIFT_NAME(GeometryType_Polygon), MBXGeometryType_MultiPoint NS_SWIFT_NAME(GeometryType_MultiPoint), MBXGeometryType_MultiLine NS_SWIFT_NAME(GeometryType_MultiLine), MBXGeometryType_MultiPolygon NS_SWIFT_NAME(GeometryType_MultiPolygon), MBXGeometryType_GeometryCollection NS_SWIFT_NAME(GeometryType_GeometryCollection) } MBXGeometryType NS_SWIFT_NAME(GeometryType); NS_SWIFT_NAME(Geometry) __attribute__((visibility ("default"))) @interface MBXGeometry: NSObject @property (readonly, assign) MBXGeometryType geometryType; @property (readonly, assign, nonnull) void *geometry; - (instancetype _Nonnull )initWithPoint:(NSValue* _Nonnull )location; - (instancetype _Nonnull )initWithLine:(NSArray* _Nonnull )locations; - (instancetype _Nonnull )initWithPolygon:(NSArray *> *_Nonnull)locations; - (instancetype _Nonnull )initWithMultiPoint:(NSArray* _Nonnull )locations; - (instancetype _Nonnull )initWithMultiLine:(NSArray *> *_Nonnull)locations; - (instancetype _Nonnull )initWithMultiPolygon:(NSArray *> *> * _Nonnull )locations; - (instancetype _Nonnull )initWithGeometryCollection:(NSArray *_Nonnull)geometries; -(nullable NSValue* )extractLocations; -(nullable NSArray* )extractLocationsArray; -(nullable NSArray *> *)extractLocations2DArray; -(nullable NSArray *> *> *)extractLocations3DArray; -(nullable NSArray *)extractGeometriesArray; @end