| regtet | mPower Reference Home |
regtet[points,pntsoff,options] provides a direct interface with the regtet binary using the Mathematica Run command.
regtet[points,options] is equivalent to regtet[points,{}, options].points is a list of 3-Dimensional points {{x1,y1,z1}, { x2,y2,z2},...} or 3-Dimensional points with weights {{x1,y1,z1, w1}, {x2,y2,z2,w2},...}.
pntsoff is a list of integers indicating elements of points that should be turned off.The options and the value returned (with the exception of path) are mathematica rule-list instantiations of the precise data structures returned by the function. For details on each of the following items, the user is referred to the regtet.f documentation.
regtet creates temporary input and output files in a new folder that are used for the interface with the binary. This name of this folder is returned in the returned option path.
Return Value
{path→full path name of directory that contains temporary files,
nw→integer number of vertices,
nt→integer number of tetrahedra found,
icfig→same as icfig in regtet.f,
icon→same as icon in regtet.f,
is→same as is in regtet.f
}
Options
| option→default-value | Description |
| artfcl→False | Same as in regtet.f |
| bigbox→False | Same as in regtet.f |
| delaun→False | Same as in regtet.f |
| flphis→False | Same as in regtet.f |
| icfig→6 | Same as in regtet.f |
| iwfig→6 | Same as in regtet.f |
| naddl→2 | Same as in regtet.f |
| path→True | If True, path will be included as part of the output, but it will not be included if path→False. |
| pntoff→False | Same as in regtet.f |
| random→False | Same as in regtet.f |
| randomSeeds→{ 521288629, 362436069, 16163801, 131199299} | Same as in regtet.f |
| reccor→False | Same as in regtet.f |
| redchk→False | Same as in regtet.f |
| regtetFormat→"RuleList" | return as a rule list or a "table". If a table is selected, the table is the imported value of the file tetrahedra created by regtet.f (see Import["tetrahedra","Table"] |
| traceregtet→False | Debugging flag |
| wlen→{0,0, 0, 0} | Same as in regtet.f |