module Chem::DX

Defined in:

chem/formats/dx.cr

Class Method Summary

Class Method Detail

def self.read(io : IO) : Spatial::Grid #

Returns the grid from io.


[View source]
def self.read(path : Path | String) : Spatial::Grid #

Returns the grid from path.


[View source]
def self.read_info(io : IO) : Spatial::Grid::Info #

Returns the grid information from io without reading the data.


[View source]
def self.read_info(path : Path | String) : Spatial::Grid::Info #

Returns the grid information from path without reading the data.


[View source]
def self.write(io : IO, grid : Spatial::Grid) : Nil #

Writes a grid to io.


[View source]
def self.write(path : Path | String, grid : Spatial::Grid) : Nil #

Writes a grid to path.


[View source]