C# Class SchoolsNearMe.DataImporter.Commands.CheckProximityCommand

Inheritance: IRavenCommand
Afficher le fichier Open project: MrKevHunter/SchoolsNearMe

Méthodes publiques

Méthode Description
Distance ( Position pos1, Position pos2, DistanceType type ) : double
Execute ( DocumentStore store ) : void

Private Methods

Méthode Description
CheckDistance ( School obj ) : void
ToRadian ( double val ) : double

Convert to Radians.

Method Details

Distance() public méthode

public Distance ( Position pos1, Position pos2, DistanceType type ) : double
pos1 Position
pos2 Position
type DistanceType
Résultat double

Execute() public méthode

public Execute ( DocumentStore store ) : void
store Raven.Client.Document.DocumentStore
Résultat void