27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSJSONSerializable.h>
54 #pragma mark initializers
64 - (instancetype)initWithCenter:(
AGSPoint *)center scale:(
double)scale;
73 - (instancetype)initWithCenter:(
AGSPoint *)center scale:(
double)scale rotation:(
double)rotation;
80 - (instancetype)initWithTargetExtent:(
AGSEnvelope *)targetExtent;
88 - (instancetype)initWithTargetExtent:(
AGSEnvelope *)targetExtent rotation:(
double)rotation;
99 - (instancetype)initWithLatitude:(
double)latitude longitude:(
double)longitude scale:(
double)scale;
110 - (instancetype)initWithCenter:(
AGSPoint *)center scale:(
double)scale camera:(
AGSCamera*)camera;
122 - (instancetype)initWithCenter:(
AGSPoint *)center scale:(
double)scale rotation:(
double)rotation camera:(
AGSCamera*)camera;
143 - (instancetype)initWithTargetExtent:(
AGSEnvelope *)targetExtent rotation:(
double)rotation camera:(
AGSCamera*)camera;
155 - (instancetype)initWithLatitude:(
double)latitude longitude:(
double)longitude scale:(
double)scale camera:(
AGSCamera*)camera;
165 +(instancetype)viewpointWithCenter:(
AGSPoint *)center scale:(
double)scale;
175 +(instancetype)viewpointWithCenter:(
AGSPoint *)center scale:(
double)scale rotation:(
double)rotation;
185 +(instancetype)viewpointWithTargetExtent:(
AGSEnvelope *)targetExtent;
194 +(instancetype)viewpointWithTargetExtent:(
AGSEnvelope *)targetExtent rotation:(
double)rotation;
206 +(instancetype)viewpointWithLatitude:(
double)latitude longitude:(
double)longitude scale:(
double)scale;
218 +(instancetype)viewpointWithCenter:(
AGSPoint *)center scale:(
double)scale camera:(
AGSCamera*)camera;
231 +(instancetype)viewpointWithCenter:(
AGSPoint *)center scale:(
double)scale rotation:(
double)rotation camera:(
AGSCamera*)camera;
254 +(instancetype)viewpointWithTargetExtent:(
AGSEnvelope *)targetExtent rotation:(
double)rotation camera:(
AGSCamera*)camera;
267 +(instancetype)viewpointWithLatitude:(
double)latitude longitude:(
double)longitude scale:(
double)scale camera:(
AGSCamera*)camera;
270 #pragma mark properties
287 @property (nonatomic, assign, readonly)
double rotation;
AGSViewpointType
Definition: AGSViewpoint.h:36
@ AGSViewpointTypeCenterAndScale
Definition: AGSViewpoint.h:37
@ AGSViewpointTypeUnknown
Definition: AGSViewpoint.h:39
@ AGSViewpointTypeBoundingGeometry
Definition: AGSViewpoint.h:38
A camera to represent 3D viewpoints of a scene.
Definition: AGSCamera.h:50
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents the view location of an AGSMapView or AGSSceneView object.
Definition: AGSViewpoint.h:51
AGSViewpointType viewpointType
Definition: AGSViewpoint.h:281
double rotation
Definition: AGSViewpoint.h:287
AGSCamera * camera
Definition: AGSViewpoint.h:276
double targetScale
Definition: AGSViewpoint.h:301
AGSGeometry * targetGeometry
Definition: AGSViewpoint.h:295
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38