2012-02-07 03:45:40 +08:00
|
|
|
// automatically generated by wrap
|
2011-12-10 04:29:47 +08:00
|
|
|
#include <wrap/matlab.h>
|
2012-06-29 00:13:22 +08:00
|
|
|
#include <set>
|
2011-12-10 04:29:47 +08:00
|
|
|
#include <Point2.h>
|
2012-06-29 00:13:22 +08:00
|
|
|
typedef boost::shared_ptr<VectorNotEigen> SharedVectorNotEigen;
|
|
|
|
|
typedef boost::shared_ptr<Point2> Shared;
|
2011-12-10 04:29:47 +08:00
|
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
|
|
|
{
|
|
|
|
|
checkArguments("vectorConfusion",nargout,nargin-1,0);
|
2012-06-29 00:13:22 +08:00
|
|
|
mxArray* mxh = mxGetProperty(in[0],0,"self");
|
|
|
|
|
Shared* self = *reinterpret_cast<Shared**> (mxGetPr(mxh));
|
|
|
|
|
Shared obj = *self;
|
|
|
|
|
VectorNotEigen result = obj->vectorConfusion();
|
|
|
|
|
SharedVectorNotEigen* ret = new SharedVectorNotEigen(new VectorNotEigen(result));
|
|
|
|
|
out[0] = wrap_collect_shared_ptr(ret,"VectorNotEigen");
|
2011-12-10 04:29:47 +08:00
|
|
|
}
|