summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLCircle_Private.h
blob: ef8fb372bff078d65cc8b86aad14c08a217a1aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import "MGLCircle.h"

#import <mbgl/annotation/annotation.hpp>

NS_ASSUME_NONNULL_BEGIN

@protocol MGLMultiPointDelegate;

@interface MGLCircle (Private)

/**
 The optimal number of vertices in the circle’s polygonal approximation.
 */
@property (nonatomic, readonly) NSUInteger numberOfVertices;

/**
 Returns a linear ring with the given number of vertices.
 */
- (mbgl::LinearRing<double>)linearRingWithNumberOfVertices:(NSUInteger)numberOfVertices;

/** Constructs a circle annotation object, asking the delegate for style values. */
- (mbgl::Annotation)annotationObjectWithDelegate:(id <MGLMultiPointDelegate>)delegate;

@end

NS_ASSUME_NONNULL_END