[][src]Struct rgmsh::Gmsh

pub struct Gmsh {}

Gmsh context object

Methods

impl Gmsh[src]

pub fn initialize_gui(&self) -> GmshResult<Gui>[src]

Create the GUI. If successful, open the GUI for an instant before resuming execution.

pub fn run_gui(&self) -> GmshResult<Gui>[src]

Run the GUI and block the calling thread until the GUI window is closed.

impl Gmsh[src]

pub fn initialize() -> GmshResult<Self>[src]

Create the main Gmsh object. All API functions are provided through this object.

pub fn create_native_model(&self, name: &'static str) -> GmshResult<GeoModel>[src]

Make a new model using the built-in Gmsh geometry kernel

pub fn create_occ_model(&self, name: &'static str) -> GmshResult<OccModel>[src]

Make a new model using the OpenCASCADE geometry kernel

pub fn get_number_option(&self, name: &str) -> GmshResult<f64>[src]

Get a numeric option.

pub fn set_number_option(&mut self, name: &str, value: f64) -> GmshResult<()>[src]

Set a numeric option.

pub fn get_string_option(&self, name: &str) -> GmshResult<String>[src]

Get a string option.

pub fn set_string_option(&mut self, name: &str, value: &str) -> GmshResult<()>[src]

Set a string option.

Trait Implementations

impl Drop for Gmsh[src]

Auto Trait Implementations

impl Send for Gmsh

impl Sync for Gmsh

impl Unpin for Gmsh

impl UnwindSafe for Gmsh

impl RefUnwindSafe for Gmsh

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]