pub fn seek(&mut self, position: u64) -> Result<()> {
        self.read.seek(SeekFrom::Start(
            self.offset_to_point_data +
                position *
                    u64::from(self.header.point_format().len()),
        ))?;
        Ok(())
    }
/// Seeks to the given point number, zero-indexed.
///
/// # Examples
///
/// ```
/// use las::Reader;
/// let mut reader = Reader::from_path("tests/data/autzen.las").unwrap();
/// reader.seek(1).unwrap(); // <- seeks to the second point
/// let the_second_point = reader.read().unwrap().unwrap();
/// ```
Seeks to the given point number, zero-indexed.
Seeks to the given point number zero - indexed .
pub fn seek(&mut self, position: u64) -> Result<()> {
        self.read.seek(SeekFrom::Start(
            self.offset_to_point_data +
                position *
                    u64::from(self.header.point_format().len()),
        ))?;
        Ok(())
    }
pub fn seek ( & mut self , position : u64 ) -> Result < ( ) > { self . read . seek ( SeekFrom :: Start ( self . offset_to_point_data + position * u64 :: from ( self . header . point_format ( ) . len ( ) ) , ) ) ? ; Ok ( ( ) ) }
Seeks to the given point number, zero-indexed.
Seeks to the given point number zero - indexed .
&mut self
position
u64
examples
```
use las::Reader;
let mut reader = Reader::from_path("tests/data/autzen.las").unwrap();
reader.seek(1).unwrap(); // <- seeks to the second point
let the_second_point = reader.read().unwrap().unwrap();
```
` ` ` use las :: Reader ; let mut reader = Reader :: from_path ( " tests / data / autzen . las " ) . unwrap () ; reader . seek ( 1 ) . unwrap () ; // < - seeks to the second point let the_second_point = reader . read () . unwrap () . unwrap () ; ` ` `