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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.