2012-01-16 03:09:34 +08:00
|
|
|
// automatically generated by wrap on 2012-Jan-15
|
2011-10-14 02:41:56 +08:00
|
|
|
#include <wrap/matlab.h>
|
|
|
|
|
#include <Point3.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("norm",nargout,nargin-1,0);
|
2011-12-07 11:05:30 +08:00
|
|
|
shared_ptr<Point3> self = unwrap_shared_ptr< Point3 >(in[0],"Point3");
|
2011-10-14 02:41:56 +08:00
|
|
|
double result = self->norm();
|
|
|
|
|
out[0] = wrap< double >(result);
|
|
|
|
|
}
|