[−][src]Trait realsense_rust::frame::DepthFrameEx
The trait provides methods on frames with depth data.
Frame types with this trait also implements VideoFrame trait.
Provided methods
fn distance(&self, x: usize, y: usize) -> Result<f32>
Gets distance at given coordinates.
fn depth_units(&self) -> Result<f32>
Gets the length in meter per distance unit.