class CrystalGpx::Rectifier

Defined in:

crystal_gpx/rectifier.cr

Constant Summary

DEFAULT_MAX_DISTANCE = 2.0
DEFAULT_MAX_DISTANCE_PERCENT = 4.0

max distance can be as high as X percent of total distance

DEFAULT_MIN_BEARING_CHANGE = 12.0
DEFAULT_MIN_DIST_FOR_BEARING = 0.10
Log = ::Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(array : Array(CrystalGpx::Point), min_bearing_change : Float64 = DEFAULT_MIN_BEARING_CHANGE, min_distance_for_bearing : Float64 = DEFAULT_MIN_DIST_FOR_BEARING, max_distance : Float64 = DEFAULT_MAX_DISTANCE, max_distance_percent : Float64 = DEFAULT_MAX_DISTANCE_PERCENT) #

[View source]

Class Method Detail

def self.process(min_bearing_change : Float64, min_distance_for_bearing : Float64, max_distance : Float64, files : String, out_name : String) #

[View source]

Instance Method Detail

def make_it_so #

[View source]