| 
									
										
										
										
											2011-11-01 07:44:31 +08:00
										 |  |  | // automatically generated by wrap on 2011-Oct-31
 | 
					
						
							| 
									
										
										
										
											2011-10-14 02:41:56 +08:00
										 |  |  | #include <wrap/matlab.h>
 | 
					
						
							|  |  |  | #include <Point3.h>
 | 
					
						
							|  |  |  | void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[]) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   checkArguments("norm",nargout,nargin-1,0); | 
					
						
							|  |  |  |   shared_ptr<Point3> self = unwrap_shared_ptr< Point3 >(in[0],"Point3"); | 
					
						
							|  |  |  |   double result = self->norm(); | 
					
						
							|  |  |  |   out[0] = wrap< double >(result); | 
					
						
							|  |  |  | } |