itacart.interop.cell_to_wkt
- itacart.interop.cell_to_wkt(cell)[source]
Export a cell as WKT, one string per cell.
Follows the convention of the six functions that already answer a list when handed a compositional index naming several cells: the list is in the order
itacart.decompose()returns.- Parameters:
cell (
str) – Atomic cell or compositional index.- Return type:
- Returns:
A WKT string, or a list of them in decompose order.
- Raises:
NonExistentCellError – If a named cell does not exist.