Computes the set of pairs of geometries from graphics1 and graphics2 that belong to the specified relation. Both arrays are assumed to be in the same spatial reference. The relations are evaluated in 2D. Z coordinates are not used. Geometry types cannot be mixed within an array. Note that if the spatialRelationship is specified as esriGeometryRelationRelation, the relationParam parameter describes the spatial relationship and must be specified.
Syntax
Parameters
- graphics1
- The first set of graphics in the comparison.
- graphics2
- The second set of graphics in the comparison.
- spatialRelationship
- The spatial relationship to be tested between the two sets of geometries. If GeometryRelation.esriGeometryRelationRelation is specified, then the comparisonString parameter must be specified.
- comparisonString
- The 'Shape Comparison Language' string to be evaluated. Strings such as RELATE(G1, G2, "FFFTTT***") are accepted, in addition to other kinds of strings. This string describes the spatial relationship to be tested when the spatialRelationship parameter is specified as esriGeometryRelationRelation.
Return Value
Returns a collection of paired indexes that matched the provided GeometryRelation.
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also