Inheritance diagram for d_rats::geopy::distance::GreatCircleDistance:

Collaboration diagram for d_rats::geopy::distance::GreatCircleDistance:

## Public Member Functions | |

def | __add__ |

def | __div__ |

def | __mul__ |

def | __nonzero__ |

def | __sub__ |

def | calculate |

def | feet |

def | ft |

def | kilometers |

def | km |

def | mi |

def | miles |

def | nautical |

def | nm |

## Public Attributes | |

a | |

b | |

radians | |

## Static Public Attributes | |

RADIUS = EARTH_RADIUS |

Use spherical geometry to calculate the surface distance between two geodesic points. This formula can be written many different ways, including just the use of the spherical law of cosines or the haversine formula. The class member ``RADIUS`` indicates which radius of the earth to use, in kilometers. The default is to use the module constant ``EARTH_RADIUS``, which uses the average great-circle radius.

Definition at line 195 of file distance.py.

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

- d-rats-0.3.3/d_rats/geopy/distance.py

Generated by Doxygen 1.6.0 Back to index