omdl
v0.5
OpenSCAD Mechanical Design Library
|
Data table encoding and lookup. More...
Go to the source code of this file.
Functions | |
function | table_get_row_idx (rows, row_id) |
Get the index for a table row identifier. More... | |
function | table_get_row (rows, row_id) |
Get the row for a table row identifier. More... | |
function | table_get_col_idx (cols, col_id) |
Get the index for a table column identifier. More... | |
function | table_get_col (cols, col_id) |
Get the column for a table column identifier. More... | |
function | table_get (rows, cols, row_id, col_id) |
Get the value for a table row and column identifier. More... | |
function | table_get_row_cols (rows, cols, col_id) |
Form a vector from the specified column of each table row. More... | |
function | table_get_row_ids (rows) |
Form a vector of each table row identifier. More... | |
function | table_exists (rows, cols, row_id, col_id) |
Test the existence of a table row and column identifier. More... | |
function | table_size (rows, cols) |
Get the size of a table. More... | |
module | table_check (rows, cols, verbose=false) |
Perform some basic validation/checks on a table. More... | |
module | table_dump (rows, cols, rows_sel, cols_sel, number=true) |
Dump a table to the console. More... | |
function | table_copy (rows, cols, rows_sel, cols_sel) |
Create a copy of select rows and columns of a table. More... | |
function | table_sum (rows, cols, rows_sel, cols_sel) |
Sum select rows and columns of a table. More... | |
Data table encoding and lookup.
This file is part of omdl, an OpenSCAD mechanical design library.
The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.
Definition in file table.scad.