Polígonos elementales
Dado un conjunto de puntos, puede crear polígonos simples y calcular cantidades geométricas básicas como el área. Para crear polígonos más complejos o acceder a más información geométrica, cree un objeto polyshape
. Después, utilice las funciones del objeto para modificar, consultar y visualizar el polígono o el conjunto de polígonos.
Funciones
Polígonos simples
boundaryshape | Create polyshape from 2-D triangulation |
inpolygon | Points located inside or on edge of polygonal region |
nsidedpoly | Regular polygon |
polyarea | Área de un polígono |
polybuffer | Create buffer around points, lines, or polyshape
objects |
rectint | Rectangle intersection area |
Objeto polyshape
Crear y modificar objeto polyshape
polyshape | 2-D polygonal shapes |
addboundary | Add polyshape boundary |
polybuffer | Create buffer around points, lines, or polyshape
objects |
rmboundary | Remove polyshape boundary |
rmholes | Remove holes in polyshape |
rmslivers | Remove polyshape boundary outliers |
rotate | Rotate polyshape |
scale | Scale polyshape |
simplify | Simplify polyshape boundaries |
sortboundaries | Sort polyshape boundaries |
sortregions | Sort polyshape regions |
translate | Translate polyshape |
Consultar y visualizar
boundary | Vertex coordinates of polyshape boundary |
holes | Convert polyshape hole boundaries to array of
polyshape objects |
ishole | Determine if polyshape boundary is a hole |
isinterior | Query points inside polyshape |
issimplified | Determine if polyshape is well-defined |
nearestvertex | Query nearest polyshape vertex |
numboundaries | Number of polyshape boundaries |
numsides | Number of polyshape sides |
overlaps | Determine whether polyshape objects overlap |
plot | Plot polyshape |
regions | Access polyshape regions |
Cantidades geométricas
area | Area of polyshape |
boundingbox | Bounding box of polyshape |
centroid | Centroid of polyshape |
convhull | Convex hull of polyshape |
turningdist | Compute turning distance between polyshape
objects |
triangulation | Triangulate polyshape |
perimeter | Perimeter of polyshape |
Operaciones booleanas
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)