ArcGIS Runtime SDK for iOS: AGSLocationViewshed.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLocationViewshed.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/AGSViewshed.h>
27 
28 @class AGSCamera;
29 @class AGSPoint;
30  //Required for Globals API doc
32 
42 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
47 
48 
56 -(instancetype)initWithCamera:(AGSCamera *)camera
57  minDistance:(double)minDistance
58  maxDistance:(double)maxDistance;
59 
67 +(instancetype)locationViewshedWithCamera:(AGSCamera *)camera
68  minDistance:(double)minDistance
69  maxDistance:(double)maxDistance;
70 
82 -(instancetype)initWithLocation:(AGSPoint *)location
83  heading:(double)heading
84  pitch:(double)pitch
85  horizontalAngle:(double)horizontalAngle
86  verticalAngle:(double)verticalAngle
87  minDistance:(double)minDistance
88  maxDistance:(double)maxDistance;
89 
101 +(instancetype)locationViewshedWithLocation:(AGSPoint *)location
102  heading:(double)heading
103  pitch:(double)pitch
104  horizontalAngle:(double)horizontalAngle
105  verticalAngle:(double)verticalAngle
106  minDistance:(double)minDistance
107  maxDistance:(double)maxDistance;
108 
109 #pragma mark -
110 #pragma mark properties
111 
115 @property (nonatomic, strong, readwrite) AGSPoint *location;
116 
120 @property (nonatomic, assign, readwrite) double heading;
121 
125 @property (nonatomic, assign, readwrite) double pitch;
126 
127 #pragma mark -
128 #pragma mark methods
129 
130 
135 -(void)updateFromCamera:(AGSCamera *)camera;
136 
137 
138 @end
A camera to represent 3D viewpoints of a scene.
Definition: AGSCamera.h:50
Analysis of viewshed for a specified location.
Definition: AGSLocationViewshed.h:42
double pitch
Definition: AGSLocationViewshed.h:125
double heading
Definition: AGSLocationViewshed.h:120
AGSPoint * location
Definition: AGSLocationViewshed.h:115
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Base class for all viewshed analysis.
Definition: AGSViewshed.h:42