27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSUnit.h>
63 #pragma mark initializers
77 -(nullable instancetype)initWithLinearUnit:(
AGSLinearUnit*)linearUnit;
90 +(nullable instancetype)unitWithWKID:(NSInteger)WKID;
96 +(nullable instancetype)areaUnitWithLinearUnit:(
AGSLinearUnit*)linearUnit;
119 #pragma mark properties
135 -(double)convertToSquareMeters:(
double)area;
141 -(double)convertFromSquareMeters:(
double)area;
148 -(double)convert:(
double)area toUnit:(
AGSAreaUnit*)toUnit;
155 -(double)convert:(
double)area fromUnit:(
AGSAreaUnit*)fromUnit;
AGSAreaUnitID
Definition: AGSAreaUnit.h:38
@ AGSAreaUnitIDSquareMiles
Definition: AGSAreaUnit.h:47
@ AGSAreaUnitIDSquareDecimeters
Definition: AGSAreaUnit.h:42
@ AGSAreaUnitIDSquareYards
Definition: AGSAreaUnit.h:48
@ AGSAreaUnitIDSquareMillimeters
Definition: AGSAreaUnit.h:46
@ AGSAreaUnitIDSquareMeters
Definition: AGSAreaUnit.h:45
@ AGSAreaUnitIDOther
Definition: AGSAreaUnit.h:49
@ AGSAreaUnitIDHectares
Definition: AGSAreaUnit.h:40
@ AGSAreaUnitIDSquareFeet
Definition: AGSAreaUnit.h:43
@ AGSAreaUnitIDSquareCentimeters
Definition: AGSAreaUnit.h:41
@ AGSAreaUnitIDSquareKilometers
Definition: AGSAreaUnit.h:44
@ AGSAreaUnitIDAcres
Definition: AGSAreaUnit.h:39
Defines an area unit of measurement.
Definition: AGSAreaUnit.h:61
instancetype squareMeters()
nullable AGSLinearUnit * toLinearUnit()
instancetype squareMiles()
instancetype squareFeet()
instancetype squareKilometers()
AGSAreaUnitID unitID
Definition: AGSAreaUnit.h:121
Defines a linear unit of measurement.
Definition: AGSLinearUnit.h:60
Defines a unit of measurement.
Definition: AGSUnit.h:68