8 lon = zeros(nVerts,1);
0099 lat = zeros(nVerts,1);
0100 ts  = zeros(nVerts,1);
0101 
0102 
0103 Mobj.nVerts  = nVerts;
0104 Mobj.nElems  = nElems;
0105 Mobj.nativeCoords = coordinate;
0106 
0107 Mobj.have_lonlat  = false;
0108 Mobj.have_xy      = true;
0109 Mobj.have_bath    = false;
0110 
0111 Mobj.x            = p(:,1);
0112 Mobj.y            = p(:,2);
0113 Mobj.ts           = ts;
0114 Mobj.lon          = lon;
0115 Mobj.lat          = lat;
0116 Mobj.h            = h;
0117 Mobj.tri          = t;
0118 
01