Trait parry3d::shape::HeightFieldStorage
source · [−]pub trait HeightFieldStorage {
type Item;
fn nrows(&self) -> usize;
fn ncols(&self) -> usize;
fn get(&self, i: usize, j: usize) -> Self::Item;
fn set(&mut self, i: usize, j: usize, val: Self::Item);
}
Expand description
Abstraction over the storage type of an heightfield’s heights grid.
Required Associated Types
Required Methods
Gets the height on the (i, j)
-th cell of the height grid.