C# Class SchoolsNearMe.DataImporter.Commands.CheckProximityCommand

Inheritance: IRavenCommand
ファイルを表示 Open project: MrKevHunter/SchoolsNearMe

Public Methods

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

Private Methods

Method Description
CheckDistance ( School obj ) : void
ToRadian ( double val ) : double

Convert to Radians.

Method Details

Distance() public method

public Distance ( Position pos1, Position pos2, DistanceType type ) : double
pos1 Position
pos2 Position
type DistanceType
return double

Execute() public method

public Execute ( DocumentStore store ) : void
store Raven.Client.Document.DocumentStore
return void