TFin = isinterior(polyin,x,y)
returns a logical vector whose elements are 1 (true) when the
corresponding x-coordinates and y-coordinates
in the vectors x and y are in a
polyshape. A point is in a polyshape if it
is either in a solid region or on one of the boundaries.
TFin = isinterior(polyin,P)
represents the query points in a 2-column matrix P. The first
column of P contains the x-coordinates of the
query points, and the second column contains the corresponding
y-coordinates.
[TFin,TFon] = isinterior(___)
returns an additional logical vector for either of the previous syntaxes. The
elements of TFon are 1 when the corresponding query points are on
a boundary of polyin.
x-coordinates of query points, specified as a scalar or
vector.
Data Types: double | single
y-coordinates of query points, specified as a scalar or
vector.
Data Types: double | single
2-D vertices, specified as a 2-column matrix. The first column of
P contains the x-coordinates of
the query points, and the second column contains the
y-coordinates.
Interior point indicator, returned as a scalar or vector. An element of
TFin is 1 when the corresponding query point is
either in a solid region of the input polyshape or on a
boundary.
Data Types: logical
Boundary point indicator, returned as a scalar or vector. An element of
TFon is 1 when the corresponding query point is
strictly on a boundary of the polyshape.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.