ArcGIS Runtime SDK for iOS: AGSLocationLineOfSight.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLocationLineOfSight.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSLineOfSight.h>
27 
28 @class AGSPoint;
29  //Required for Globals API doc
31 
43 
44 
45 #pragma mark -
46 #pragma mark initializers
47 
48 
49 
56 -(instancetype)initWithObserverLocation:(AGSPoint*)observerLocation
57  targetLocation:(AGSPoint*)targetLocation;
58 
65 +(instancetype)lineOfSightWithObserverLocation:(AGSPoint*)observerLocation
66  targetLocation:(AGSPoint*)targetLocation;
67 
68 #pragma mark -
69 #pragma mark properties
70 
74 @property (nonatomic, strong, readwrite) AGSPoint *observerLocation;
75 
79 @property (nonatomic, strong, readwrite) AGSPoint *targetLocation;
80 
81 #pragma mark -
82 #pragma mark methods
83 
84 
85 @end
Base class for all line-of-sight analysis.
Definition: AGSLineOfSight.h:53
Analysis of visibility along a line between two locations.
Definition: AGSLocationLineOfSight.h:43
AGSPoint * observerLocation
Definition: AGSLocationLineOfSight.h:74
AGSPoint * targetLocation
Definition: AGSLocationLineOfSight.h:79
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73