FDO API Reference Feature Data Objects

DistanceCondition Class Reference

List of all members.

Detailed Description

The FdoDistanceCondition class derives from FdoGeometricCondition and can be used to test whether the value of a geometric property is within or beyond a specified distance of the specified geometric value. Some feature providers may only support literal geometric values; if so, the provider's capabilities will indicate this limitation.


Public Member Functions

 DistanceCondition (System::IntPtr unmanaged, System::Boolean autoDelete)
 DistanceCondition (NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier *propertyName, NAMESPACE_OSGEO_FDO_FILTER::DistanceOperations operation, NAMESPACE_OSGEO_FDO_EXPRESSION::Expression *geometry, System::Double distance)
 Constructs an instance of an FdoDistanceCondition using the specified arguments.
 DistanceCondition (System::String *propertyName, NAMESPACE_OSGEO_FDO_FILTER::DistanceOperations operation, NAMESPACE_OSGEO_FDO_EXPRESSION::Expression *geometry, System::Double distance)
 Constructs an instance of an FdoDistanceCondition using the specified arguments.
 DistanceCondition ()
 Constructs a default instance of an FdoDistanceCondition.
__property System::Double get_Distance ()
 Gets the distance value.
__property NAMESPACE_OSGEO_FDO_EXPRESSION::Expression * get_Geometry ()
 Gets the literal geometric value.
__property NAMESPACE_OSGEO_FDO_FILTER::DistanceOperations get_Operation ()
 Gets the distance operation to use.
System::Void Process (NAMESPACE_OSGEO_FDO_FILTER::IFilterProcessor *processor)
 Overrides FdoFilter.Process to pass the FdoDistanceCondition to the appropriate filter processor operation.
__property System::Void set_Distance (System::Double value)
 Sets the distance value.
__property System::Void set_Geometry (NAMESPACE_OSGEO_FDO_EXPRESSION::Expression *value)
 Sets the literal geometric value.
__property System::Void set_Operation (NAMESPACE_OSGEO_FDO_FILTER::DistanceOperations value)
 Sets the distance operation to use.

Comments or suggestions? Send us feedback.