[−][src]Struct gut::mesh::builder::GridBuilder
Parameters that define a grid that lies in one of the 3 axis planes in 3D space.
Fields
rows: usize
Number of grid cells in each column.
cols: usize
Number of grid cells in each row.
orientation: AxisPlaneOrientation
Axis orientation of the grid.
Methods
impl GridBuilder
[src]
pub fn build(self) -> PolyMesh<f64>
[src]
Generate a [-1,1]x[-1,1] mesh grid with the given cell resolution and grid orientation. The grid nodes are spcified in row major order.
Trait Implementations
impl Clone for GridBuilder
[src]
fn clone(&self) -> GridBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GridBuilder
[src]
impl PartialEq<GridBuilder> for GridBuilder
[src]
fn eq(&self, other: &GridBuilder) -> bool
[src]
fn ne(&self, other: &GridBuilder) -> bool
[src]
impl Debug for GridBuilder
[src]
impl StructuralPartialEq for GridBuilder
[src]
Auto Trait Implementations
impl Send for GridBuilder
impl Sync for GridBuilder
impl Unpin for GridBuilder
impl UnwindSafe for GridBuilder
impl RefUnwindSafe for GridBuilder
Blanket Implementations
impl<T> Bytes for T
[src]
impl<T> Pod for T where
T: 'static + Copy + Send + Sync + Any,
[src]
T: 'static + Copy + Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,