2012-02-07 03:45:40 +08:00
|
|
|
// automatically generated by wrap
|
2011-12-07 11:05:30 +08:00
|
|
|
#include <wrap/matlab.h>
|
|
|
|
|
#include <Point3.h>
|
2011-12-10 04:29:47 +08:00
|
|
|
using namespace geometry;
|
2012-06-29 00:13:22 +08:00
|
|
|
typedef boost::shared_ptr<Point3> SharedPoint3;
|
|
|
|
|
typedef boost::shared_ptr<Point3> Shared;
|
2011-12-07 11:05:30 +08:00
|
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
|
|
|
{
|
2011-12-10 04:29:47 +08:00
|
|
|
checkArguments("Point3_StaticFunctionRet",nargout,nargin,1);
|
2012-07-03 02:18:11 +08:00
|
|
|
double z = unwrap< double >(in[0]);
|
2011-12-10 04:29:47 +08:00
|
|
|
Point3 result = Point3::StaticFunctionRet(z);
|
2012-06-29 00:13:22 +08:00
|
|
|
SharedPoint3* ret = new SharedPoint3(new Point3(result));
|
|
|
|
|
out[0] = wrap_collect_shared_ptr(ret,"Point3");
|
2011-12-07 11:05:30 +08:00
|
|
|
}
|