libigl v2.5.0
Loading...
Searching...
No Matches
validate_arg.h File Reference
#include "../igl_inline.h"
#include <mex.h>
#include "validate_arg.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::matlab
 

Functions

void igl::matlab::validate_arg_scalar (const int i, const int nrhs, const mxArray *prhs[], const char *name)
 Throw an error if arg i+1 is not a scalar.
 
void igl::matlab::validate_arg_logical (const int i, const int nrhs, const mxArray *prhs[], const char *name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \breif Throw an error if arg i+1 is not logical.
 
void igl::matlab::validate_arg_char (const int i, const int nrhs, const mxArray *prhs[], const char *name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \breif Throw an error if arg i+1 is not char.
 
void igl::matlab::validate_arg_double (const int i, const int nrhs, const mxArray *prhs[], const char *name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \breif Throw an error if arg i+1 is not double.
 
void igl::matlab::validate_arg_function_handle (const int i, const int nrhs, const mxArray *prhs[], const char *name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \breif Throw an error if arg i+1 is not a function handle.