n = mphselectcoords(model,geomtag,coord,entity,…) finds geometric entity numbers based on their vertex coordinates.
coord is an
N-by-
M array where
N correspond of the number of point to use and
M the space dimension of the geometry.
entity can be one of
point,
edge,
boundary, or
domain following the entity space dimension defined below:
The function mphpselectcoords accepts the following property/value pairs:
When a model uses form an assembly, more than one vertex can have the same coordinate if the coordinate is shared by separate geometry objects. In that case you can use the
adjnumber property to identify the domain that the vertices should be adjacent to.
The radius property is used to specify the radius of the sphere or circle that the search should be within. A small positive radius (based on the geometry size) is used by default in order to compensate for rounding errors.
Use the property include when two point coordinates are used. Set it to
all to select objects within the search radius of all points. any returns objects within the search radius of any points.