
21-82
SHMODEL (Statement)
Function
Searches for a model.
Format
SHMODEL <Window number>, <Coordinate X>, <Coordinate Y>, <Model
number>, <Correspondence degree>[, <Mode>[, <Number>[, <Start angle>[,
<End angle>]]]]
Explanation
<Window number> Designates the window number (0 to 511).
<Coordinate X> Designates the X coordinate (0 to 511).
<Coordinate Y> Designates the Y coordinate (0 to 479).
<Model number> Designates the model number to search for (0 to 99).
<Correspondence degree> Designates the correspondence degree of the
model to search for (0 to 100).
<Mode> Designates the mode when searching is executed.
0: Search in pixel units.
1: Search in sub-pixel units.
If these are ignored, 0 is set as the default.
<Number> Designates the number of models to search for at a time (1 to
49). If this is ignored, 1 is set.
<Start angle> Designates an angular range (start angle) for an object to be
searched (-360 to 360). 0 is assumed as the default. [V1.4 or
later]
<End angle> Designates an angular range (end angle) for an object to be
searched (-360 to 360). 0 is assumed as the default. [V1.4 or
later]
After a search is completed, the position corresponding to the point A of a searching model is
stored in [X, Y Coordinate Value] and the position corresponding to the origin B of a searching
model is stored in [X, Y Coordinate Value for Origin].
Searching model
Offset X
Offset Y
X and Y coordinate of
a
oint searched
Window (search area)
A: X and Y
coordinate
of a point
B: X and Y coordinate
of the origin
X and Y coordinate of the
origin searched
Comentarios a estos manuales