ArcGIS Runtime SDK for iOS: AGSCubicBezierSegment.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSCubicBezierSegment.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSSegment.h>
29 
30 
31 
32 @class AGSPoint;
33 @class AGSSpatialReference;
34 
39 
40 #pragma mark -
41 #pragma mark initializers
42 
43 
44 
60 - (nullable instancetype)initWithStartPoint:(AGSPoint *)startPoint
61  controlPoint1:(AGSPoint *)controlPoint1
62  controlPoint2:(AGSPoint *)controlPoint2
63  endPoint:(AGSPoint *)endPoint
64  spatialReference:(nullable AGSSpatialReference *)spatialReference;
65 
81 + (nullable instancetype)cubicBezierSegmentWithStartPoint:(AGSPoint *)startPoint
82  controlPoint1:(AGSPoint *)controlPoint1
83  controlPoint2:(AGSPoint *)controlPoint2
84  endPoint:(AGSPoint *)endPoint
85  spatialReference:(nullable AGSSpatialReference *)spatialReference;
86 
87 #pragma mark -
88 #pragma mark properties
89 
93 @property (nonatomic, strong, readonly) AGSPoint *controlPoint1;
94 
98 @property (nonatomic, strong, readonly) AGSPoint *controlPoint2;
99 
100 #pragma mark -
101 #pragma mark methods
102 
103 @end
104 
105 
A cubic Bezier curve for use in a multipart geometry.
Definition: AGSCubicBezierSegment.h:39
AGSPoint * controlPoint1
Definition: AGSCubicBezierSegment.h:93
AGSPoint * controlPoint2
Definition: AGSCubicBezierSegment.h:98
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
A segment represents an edge of a multipart geometry, connecting a start to an end point.
Definition: AGSSegment.h:61
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49