|
|
| File Information |
| Description |
%*******************************************************************************
% function: p_poly_dist
% Description: distance from pont to polygon whose vertices are specified by the
% vectors xv and yv
% Input:
% x - point's x coordinate
% y - point's y coordinate
% xv - vector of polygon vertices x coordinates
% yv - vector of polygon vertices x coordinates
% Output:
% d - distance from point to polygon (defined as a minimal distance from
% point to any of polygon's ribs, positive if the point is outside the
% polygon and negative otherwise) |
| Acknowledgements |
This submission has inspired the following:
Distance from a point to polygon
|
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (6) |
| 24 Apr 2007 |
Kardi Teknomo
|
|
|
| 21 Oct 2007 |
Jesse Collins
|
|
|
| 09 Jan 2008 |
Eric Schmitz
|
|
|
| 01 Apr 2008 |
Alejandro Weinstein
|
|
|
| 06 Feb 2010 |
Cristian D
|
|
|
| 22 Jul 2010 |
Xavier Nieves
|
|
|
|
Contact us at files@mathworks.com