The Geometry type exposes the following members.

Constructors

  NameDescription
Geometry
Initializes a new instance of the Geometry class

Methods

  NameDescription
AreasAndLengths
Finds the areas and perimeters of an array of VEShapes or rings in a JSON-formatted object containing geometries.
Buffer
Creates buffer polygons around a set of VEShapes. The result of this operation is a BufferResults object passed to the callback function.
LabelPoints
This operation computes the set of pairs of geometries from shapesOrGeometries1 and shapesOrGeometries2 that belong to the specified relation. .
Lengths
Finds the lengths of an array of VEShapes or paths in a JSON-formatted object containing geometries.
ProjectFromVEShapes
Projects an array of VEShapes to geometries in JSON format.
ProjectToVEShapes
Projects a set of geometries in JSON format to an array of VEShapes.
Relation
This operation computes the set of pairs of geometries from shapesOrGeometries1 and shapesOrGeometries2 that belong to the specified relation. .
Simplify
Alters the input geometries to make their definitions topologically legal with respect to their geometry type.

Properties

  NameDescription
AreaUnitNames
Array of descriptive names for the values in AreaUnits enumeration. See AreaUnits for an example of using AreaUnitNames to retrieve a descriptive name for a returned area unit.
DistanceUnitNames
Array of descriptive names for the values in DistanceUnits enumeration. See DistanceUnits for an example of using DistanceUnitNames to retrieve a descriptive name for a returned distance unit.
OnBufferComplete
JavaScript function that will process the results returned by the buffer. May also be specified when calling the Buffer method.
OnProjectComplete
JavaScript function that will process the results returned by the project request (ProjectFromVEShapes, ProjectToVEShapes). May also be specified when calling the project method.
OnSimplifyComplete
JavaScript function that will process the results returned by the simplify request. May also be specified when calling the Simplify method.
Token
Authentication token to be used in the task's requests to a secured ArcGIS service.
Url
URL of the ArcGIS Server Geometry service exposed as a REST resource that will receive geometry request.

See Also