23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0inpolygon<br />

Purpose Detect points inside a polygonal region<br />

<strong>C++</strong> Prototype mwArray inpolygon(const mwArray &x, const mwArray &y,<br />

const mwArray &xv, const mwArray &yv);<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

mwArray X, Y, xv, yv; // Input argument(s)<br />

mwArray IN; // Return value<br />

IN = inpolygon(X,Y,xv,yv);<br />

IN = inpolygon(X,Y,xv,yv)<br />

See Also <strong>MATLAB</strong> inpolygon Calling Conventions<br />

inpolygon<br />

205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!