Crate aspect360

Source

Structs§

AspectOrb
Defines a target aspect with its orb (± tolerance). Used with the find_aspect() method defined in Aspect360 All aspects are symmetrical e.g. 120º will also match 240º or -120º
AspectResult
Defines an aspect result All angle pairs have an aspect, but only some match the target within the specified orb (± tolerance)
Ring360
Ring360 is a tuple struct encapsulating an f64

Traits§

Aspect360
Provides methods to calculate aspect matches from f64 values cast to Ring360 with a target aspect and orb (± tolerance)
ToAspectOrbs
Provide method to cast simple (f64, f64) tuples to a vetcor AspectOrb tuple structs
ToRing360
trait to convert normal float values to a Ring360 value and to apply a simple mod_360() returning a 64-bit float