# FdoDistanceCondition Class Reference

`#include <DistanceCondition.h>`

Inheritance diagram for FdoDistanceCondition:

[legend]

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.

Definition at line 41 of file DistanceCondition.h.

## Public Member Functions
FDO_API double | GetDistance ()
| Gets the distance value.
FDO_API FdoExpression * | GetGeometry ()
| Gets the literal geometric value.
FDO_API FdoDistanceOperations | GetOperation ()
| Gets the distance operation to use.
FDO_API void | Process (FdoIFilterProcessor *p)
| Overrides FdoFilter.Process to pass the FdoDistanceCondition to the appropriate filter processor operation.
FDO_API void | SetDistance (double value)
| Sets the distance value.
FDO_API void | SetGeometry (FdoExpression *value)
| Sets the literal geometric value.
FDO_API void | SetOperation (FdoDistanceOperations value)
| Sets the distance operation to use.
## Static Public Member Functions
static FDO_API FdoDistanceCondition * | Create (FdoIdentifier *propertyName, FdoDistanceOperations operation, FdoExpression *geometry, double distance)
| Constructs an instance of an FdoDistanceCondition using the specified arguments.
static FDO_API FdoDistanceCondition * | Create (FdoString *propertyName, FdoDistanceOperations operation, FdoExpression *geometry, double distance)
| Constructs an instance of an FdoDistanceCondition using the specified arguments.
static FDO_API FdoDistanceCondition * | Create ()
| Constructs a default instance of an FdoDistanceCondition.

The documentation for this class was generated from the following file:

- DistanceCondition.h