There are a number of file formats for working with meshes. They are useful since they can be used as interchange formats between CAD programs. Some of these are supported by ...
MLINK MLOpenArgcArgv (MLENV env, int argc, char ** argv, int* errno) opens a MathLink connection, taking parameters from command-line arguments.
int MLError (MLINK link) returns a value identifying the last error to occur on link. MLError() returns MLEOK if no error has occurred since the previous call to ...
MLINK MLDuplicateLink (MLINK parent, const char *name, int *err) returns a copy of parent and sets the new link object's name to name.
int MLEvaluate (MLINK link, char*string) sends a string of input suitable for use with ToExpression[] to Mathematica for evaluation.
int MLGetArgCount (MLINK link, int *n) finds the number of arguments to a function on link and stores the result in n.
int MLGetNext (MLINK link) goes to the next object on link and returns its type.
int MLPutIntegerArray (MLINK link, int *a, long *dims, char ** heads, long d) puts an array of integers to the MathLink connection specified by link to form a depth d array ...
int MLPutRealArray (MLINK link, double *a, long *dims, char ** heads, long d) puts an array of floating-point numbers to the MathLink connection specified by link to form a ...
void MLReleaseByteArray (MLINK link, unsigned char *a, int *dims, char ** heads, int d) disowns the memory allocated by MLGetByteArray() to store the array a, its dimensions ...