function c=mphgetcoords(model, geomname, entity, numbers)
% MPHGETCOORDS Return point coordinates of geometry entities
% 
%   C = MPHGETCOORDS(MODEL,GEOMNAME,ENTITYTYPE,ENTITYNUMBER) returns the 
%   coordinates of the points that belong to entity object with the type 
%   ENTITYTYPE and the index ENTITYNUMBER.
% 
%   The ENTITYTYPE property can be one of 'point', 'edge', 'boundary' or
%   'domain'. See the entry MPHGETADJ in the LiveLink for MATLAB User's
%   Guide for more information about the entity type definition.
% 
%   Example :
%     % Load  busbar.mph from the Model Library:
%     model = mphload('busbar.mph');
%     % Return the coordinates of point that belong to domain 1:
%     c = mphgetcoords(model, 'geom1', 'domain', 1);
%     % Return the coordinates of points that belong to boundary 5:
%     c = mphgetcoords(model, 'geom1', 'boundary', 5);
%     % Return the coordinates of point number 10:
%     c = mphgetcoords(model, 'geom1', 'point', 10);
% 
%   See also: mphgetadj, mphselectbox, mphselectcoords

% Copyright 2010-2011 COMSOL
