5:f248e1434c3b | 6:df9628092285 |
---|---|
230 } | 230 } |
231 | 231 |
232 fn dist_to(&self, other : &Self) -> f64 { | 232 fn dist_to(&self, other : &Self) -> f64 { |
233 self.log_dist(other).1 | 233 self.log_dist(other).1 |
234 } | 234 } |
235 | |
236 fn tangent_origin(&self) -> Self::Tangent { | |
237 Loc([0.0, 0.0]) | |
238 } | |
235 } | 239 } |
236 | 240 |
237 #[cfg(test)] | 241 #[cfg(test)] |
238 mod tests { | 242 mod tests { |
239 use super::*; | 243 use super::*; |