AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgFeatureQueryOptions::SetBinaryOperator ( bool  andOr  ) 

Use this method to join a regular filter with a spatial filter An argument of TRUE results in an AND join, and an argument of FALSE results in an OR join. The binary operator applies only when both the SetFilter() and SetSpatialFilter() methods have been called. If both have been called and SetBinaryOperator() has not been called, an AND join is applied.

Remarks:
The default is an AND join.
.NET Syntax
void SetBinaryOperator(bool andOr);
Java Syntax
void SetBinaryOperator(boolean andOr);

Parameters:
andOr (boolean/bool) If true, apply an AND join; otherwise apply an OR join.
Returns:
Nothing