Enumerations | |
enum | AGSGeometryType { AGSGeometryTypeUndefined = -1, AGSGeometryTypePoint, AGSGeometryTypePolyline, AGSGeometryTypePolygon, AGSGeometryTypeMultipoint, AGSGeometryTypeEnvelope } |
Functions | |
BOOL | AGSGeometryCGPathIntersectsRectangle (CGPathRef path, CGRect pathBBox, CGRect rectangle) |
AGSGeometry * | AGSGeometryGeographicToWebMercator (AGSGeometry *geometry) |
AGSGeometryType | AGSGeometryTypeForGeometry (AGSGeometry *geometry) |
AGSGeometryType | AGSGeometryTypeFromString (NSString *geometryType) |
NSString * | AGSGeometryTypeString (AGSGeometryType geometryType) |
AGSGeometry * | AGSGeometryWebMercatorToGeographic (AGSGeometry *geometry) |
AGSGeometry * | AGSGeometryWithJSON (NSDictionary *json) |
AGSGeometry * | AGSGeometryWithJSONAndSR (NSDictionary *json, AGSSpatialReference *sr) |
AGSGeometry * | AGSMutableGeometryFromType (AGSGeometryType type, AGSSpatialReference *sr) |
enum AGSGeometryType |
BOOL AGSGeometryCGPathIntersectsRectangle | ( | CGPathRef | path, | |
CGRect | pathBBox, | |||
CGRect | rectangle | |||
) |
Returns whether path
intersects rectangle
.
path | The input path that may or may not intersect rectangle. | |
pathBBox | The bounding box of path . | |
rectangle | The rectangle to test intersection relation. |
YES
if path
intersects rectangle
. AGSGeometry* AGSGeometryGeographicToWebMercator | ( | AGSGeometry * | geometry | ) |
Returns a geometry converted from geographic to web mercator.
geometry | The geometry to convert to web mercator. |
AGSGeometry
object in web mercator. AGSGeometryType AGSGeometryTypeForGeometry | ( | AGSGeometry * | geometry | ) |
Return AGSGeometryType
from geometry.
geometry | The geometry to determine geometry type. |
AGSGeometryType
for geometry
. AGSGeometryType AGSGeometryTypeFromString | ( | NSString * | geometryType | ) |
Return geometry type for type string.
geometryType | The string representation of a geometry type. |
AGSGeometryType
for geometryType
string. NSString* AGSGeometryTypeString | ( | AGSGeometryType | geometryType | ) |
Return geometry type string for AGSGeometryType
.
geometryType | The type for geometry. |
geometryType
. AGSGeometry* AGSGeometryWebMercatorToGeographic | ( | AGSGeometry * | geometry | ) |
Returns a geometry converted from web mercator to geographic.
geometry | The geometry to convert to geographic. |
AGSGeometry
object in geographic. AGSGeometry* AGSGeometryWithJSON | ( | NSDictionary * | json | ) |
Return autoreleased geometry, initialized from JSON representation.
json | The JSON representation. |
AGSGeometry* AGSGeometryWithJSONAndSR | ( | NSDictionary * | json, | |
AGSSpatialReference * | sr | |||
) |
Return autoreleased geometry, initialized from JSON representation and spatial reference.
json | The JSON representation. | |
sr | The spatial reference of the geometry. |
AGSGeometry* AGSMutableGeometryFromType | ( | AGSGeometryType | type, | |
AGSSpatialReference * | sr | |||
) |
Returns a mutable AGSGeometry
from AGSGeometryType
type | The type of geometry to return. | |
sr | The spatial reference of the geometry to create. |
AGSGeometryType
for geometry
.