fn row_altitude(&self, row: usize) -> (Float, Float) {
        let row_height = row_height(self.mf);
        if row == self.n_rows - 1 {
            // Cap
            (PI / 2. - row_height / 2., PI / 2.)
        } else {
            // others
            let row = row as Float;
            (row * row_height, (row + 1.) * row_height)
        }
    }
/// Returns the minimum and maximum altitude of a row, in Radians
Returns the minimum and maximum altitude of a row, in Radians
Returns the minimum and maximum altitude of a row in Radians
fn row_altitude(&self, row: usize) -> (Float, Float) {
        let row_height = row_height(self.mf);
        if row == self.n_rows - 1 {
            // Cap
            (PI / 2. - row_height / 2., PI / 2.)
        } else {
            // others
            let row = row as Float;
            (row * row_height, (row + 1.) * row_height)
        }
    }
fn row_altitude ( & self , row : usize ) -> ( Float , Float ) { let row_height = row_height ( self . mf ) ; if row == self . n_rows - 1 { // Cap ( PI / 2. - row_height / 2. , PI / 2. ) } else { // others let row = row as Float ; ( row * row_height , ( row + 1. ) * row_height ) } }
Returns the minimum and maximum altitude of a row, in Radians
Returns the minimum and maximum altitude of a row in Radians
&self
row
usize
&self
row
usize