2011-12-10 04:29:47 +08:00
|
|
|
// automatically generated by wrap on 2011-Dec-09
|
2011-10-14 02:41:56 +08:00
|
|
|
#include <wrap/matlab.h>
|
|
|
|
#include <Point2.h>
|
2011-12-10 04:29:47 +08:00
|
|
|
using namespace geometry;
|
2011-10-14 02:41:56 +08:00
|
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
|
|
{
|
|
|
|
checkArguments("dim",nargout,nargin-1,0);
|
2011-12-07 11:05:30 +08:00
|
|
|
shared_ptr<Point2> self = unwrap_shared_ptr< Point2 >(in[0],"Point2");
|
2011-10-14 02:41:56 +08:00
|
|
|
int result = self->dim();
|
|
|
|
out[0] = wrap< int >(result);
|
|
|
|
}
|