YMKGeometry
@interface YMKGeometry : NSObject |
A container of other geometry objects. Point - A point on the map. Polyline - A polyline between a number of points. Polygon - A polygon with one or more polygons in it. BoundingBox - A rectangular box around the object. Circle - A circle around the specified point.
Summary
Class methods
+ (nonnull YMKGeometry *)geometryWithPoint:(nonnull YMKPoint *)point; |
+ (nonnull YMKGeometry *)geometryWithPolyline:(nonnull YMKPolyline *)polyline; |
+ (nonnull YMKGeometry *)geometryWithPolygon:(nonnull YMKPolygon *)polygon; |
+ (nonnull YMKGeometry *)geometryWithMultiPolygon:(nonnull YMKMultiPolygon *)multiPolygon; |
+ (nonnull YMKGeometry *)geometryWithBoundingBox:(nonnull YMKBoundingBox *)boundingBox; |
+ (nonnull YMKGeometry *)geometryWithCircle:(nonnull YMKCircle *)circle; |
Properties
@property (nonatomic, readonly, nullable) YMKPolyline *polyline |
@property (nonatomic, readonly, nullable) YMKPolygon *polygon |
@property (nonatomic, readonly, nullable) YMKMultiPolygon *multiPolygon |
@property (nonatomic, readonly, nullable) YMKBoundingBox *boundingBox |
Class methods
geometryWithPoint:
+ (nonnull YMKGeometry *)geometryWithPoint:(nonnull YMKPoint *)point; |
geometryWithPolyline:
+ (nonnull YMKGeometry *)geometryWithPolyline:(nonnull YMKPolyline *)polyline; |
geometryWithPolygon:
+ (nonnull YMKGeometry *)geometryWithPolygon:(nonnull YMKPolygon *)polygon; |
geometryWithMultiPolygon:
+ (nonnull YMKGeometry *)geometryWithMultiPolygon:(nonnull YMKMultiPolygon *)multiPolygon; |
geometryWithBoundingBox:
+ (nonnull YMKGeometry *)geometryWithBoundingBox:(nonnull YMKBoundingBox *)boundingBox; |
geometryWithCircle:
+ (nonnull YMKGeometry *)geometryWithCircle:(nonnull YMKCircle *)circle; |
Properties
point
@property (nonatomic, readonly, nullable) YMKPoint *point |
polyline
@property (nonatomic, readonly, nullable) YMKPolyline *polyline |
polygon
@property (nonatomic, readonly, nullable) YMKPolygon *polygon |
multiPolygon
@property (nonatomic, readonly, nullable) YMKMultiPolygon *multiPolygon |
boundingBox
@property (nonatomic, readonly, nullable) YMKBoundingBox *boundingBox |
circle
@property (nonatomic, readonly, nullable) YMKCircle *circle |