This method returns a list of features that intersect with a selection area geometry according to the specified intersection type. Only features that are showing will be returned.
JavaScript |
|
ExecuteSpatialQuery( pIGeometry, IntersectionType) |
C# |
|
IFeatures66 ExecuteSpatialQuery( IGeometry pIGeometry, [IntersectionType IntersectionType = IntersectionType.IT_INTERSECT]) |
C++ |
|
HRESULT ExecuteSpatialQuery( IGeometry* pIGeometry, IntersectionType IntersectionType, IFeatures66** pIFeatures) |
Parameters
pIGeometry
Any valid IGeometry derived object, representing the geometric properties of the selection area geometry.
IntersectionType
An enum that determines the intersection type. The following are the possible values:
· IT_NONE = 0
· IT_INTERSECT = 1
Select all features that geometrically intersect with the selection area.
· IT_WITHIN = 2
Select only features whose entire geometry falls within the selection area.
Return Value
pIFeatures
An IFeatures66, containing all the features that intersect with the selection area geometry according to the IGeometry properties set.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.