|
MapGuide API Reference
|
| virtual double MgGeometry::Distance | ( | MgGeometry * | other, |
| MgMeasure * | measure | ||
| ) | [virtual] |
Returns the shortest distance between this geometry and another. By default distance computation is done using a linear algorithm unless a custom measure is supplied.
| virtual double Distance(MgGeometry other, MgMeasure measure); |
| virtual double Distance(MgGeometry other, MgMeasure measure); |
| virtual double Distance(MgGeometry other, MgMeasure measure); |
| other | (MgGeometry) The MgGeometry to determine the distance to. |
| measure | (MgMeasure) The MgMeasure instance to use when computing the distance. If null, a linear distance algorithm is used. |