ArcGIS Runtime SDK for iOS
100.6

A base class for all geometry types. Geometries define a spatial location and an associated geometric shape. Types of geometries include points, polylines, polygons, envelopes, and so on. Geometries may be twodimensional (x,y coordinates) or threedimensional (x,y,z coordinates). They may also include an m (measure) value for each vertex.
Every nonempty geometry has an inherent dimension (sometimes called the topological dimensionality) that indicates the general class of the geometry.
Geometries are associated with a spatial reference which specifies the coordinate system that its coordinate values use.
toBuilder (AGSGeometry):
to get a builder using a copy of this geometry as a starting off point. The builder can then be modified to produce a new geometry. AGSGeometryBuilder
for constructing or modifying geometries. AGSGeometryEngine
for performing operations on geometries. Instance Methods  
(BOOL)   isEqualToGeometry: 
(BOOL)   isEqualToGeometry:tolerance: 
(AGSGeometryBuilder *)   toBuilder 
(nullable id)   toJSON: 
Class Methods  
(nullable id< AGSJSONSerializable >)  + fromJSON:error: 
Properties  
AGSGeometryDimension  dimension 
BOOL  empty 
AGSEnvelope *  extent 
AGSGeometryType  geometryType 
BOOL  hasCurves 
BOOL  hasM 
BOOL  hasZ 
AGSSpatialReference *  spatialReference 
NSDictionary< NSString *, id > *  unknownJSON 
NSDictionary< NSString *, id > *  unsupportedJSON 

staticrequiredinherited 
Initializes and returns an object from its JSON representation.
JSONObject  NSDictionary or NSArray containing the JSON. 
error  encountered during the operation, if any. 
 (BOOL) isEqualToGeometry:  (AGSGeometry *)  other 
Compares whether two geometries are equal.
other  geometry to compare this geometry to 
 (BOOL) isEqualToGeometry:  (AGSGeometry *)  other  
tolerance:  (double)  tolerance  
 (AGSGeometryBuilder*) toBuilder 
Returns a builder using a copy of this geometry as a starting off point. The builder can be used to make modifications to the geometry.
Implemented in AGSEnvelope, AGSPoint, AGSPolyline, AGSMultipoint, and AGSPolygon.

requiredinherited 
Returns JSON representation for this object.
error  encountered during the operation, if any. 
NSDictionary
or NSArray
containing the JSON. Reimplemented in AGSPortalItem.

readnonatomicassign 

readnonatomicassign 
Indicates whether this geometry has any vertices.

readnonatomicstrong 
Smallest, rectangular boundingbox that covers the geometry.

readnonatomicassign 
The type of this geometry.

readnonatomicassign 
Indicates whether this geometry has curves.

readnonatomicassign 
Indicates whether this geometry contains m (measure) values.

readnonatomicassign 
Indicates whether this geometry contains z coordinate values. Only 3D geometries contain z values.

readnonatomicstrong 
The spatial reference associated with the gometry. It specifies the coordinate system for the geometry's x, y, and z coordinate values.

readrequirednonatomiccopyinherited 
A dictionary of values that was in the source JSON but was unparsed by API.
NSDictionary
containing the unknown JSON.

readnonatomiccopyinherited 
A dictionary of values that are supported by the REST API, but not exposed through the SDK API.
NSDictionary
containing the unsupported JSON.