function PlygnMesh = PlygnMesh_ConvFrom_PolyMesher(Node,Element)
%% Polygononal mesh: Converted from one generated by PolyMesher 
% James Liu, Zhuoran Wang, ColoState; 2012/07--2017/08 

%% 
NumNds = length(Node);
NumEms = length(Element);

%% For nodes 
PlygnMesh.node = Node(:,1:2);

%% For elements 
PlygnMesh.elem = Element;

%% For element types 
PlygnMesh.ElemType = zeros(NumEms,1);
for ie=1:NumEms
  PlygnMesh.ElemType(ie) = size(Element{ie},2);
end

%% Finishing 
PlygnMesh.NumNds = NumNds;
PlygnMesh.NumEms = NumEms;
PlygnMesh.flag = 1;

return;