/// Returns only lower points of the ramp.
Returns only lower points of the ramp.
Returns only lower points of the ramp .
pub fn lower(&self) -> Vec<Pos> {
		let mut min = u8::MAX;
		let mut result = Vec::new();
		for &p in &self.points {
			let h = self.height[p];
			match h.cmp(&min) {
				Ordering::Less => {
					min = h;
					result = vec![p];
				}
				Ordering::Equal => result.push(p),
				_ => {}
			}
		}
		result
	}
pub fn lower ( & self ) -> Vec < Pos > { let mut min = u8 :: MAX ; let mut result = Vec :: new ( ) ; for & p in & self . points { let h = self . height [ p ] ; match h . cmp ( & min ) { Ordering :: Less => { min = h ; result = vec ! [ p ] ; } Ordering :: Equal => result . push ( p ) , _ => { } } } result }
Returns only lower points of the ramp.
Returns only lower points of the ramp .
&self