Poligoni elementari
Dato un insieme di punti, è possibile creare poligoni semplici e calcolare quantità geometriche di base, come l'area. Per poligoni più complessi o per accedere a più informazioni geometriche, creare un oggetto polyshape
. Quindi, utilizzare le funzioni dell’oggetto per modificare, interrogare e visualizzare il poligono o l'insieme di poligoni.
Funzioni
Poligoni semplici
boundaryshape | Create polyshape from 2-D triangulation |
inpolygon | Points located inside or on edge of polygonal region |
nsidedpoly | Regular polygon |
polyarea | Area of polygon |
polybuffer | Create buffer around points, lines, or polyshape
objects |
rectint | Rectangle intersection area |
Oggetto multiforme
Creazione e modifica di multiforme
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 |
Interrogazione e visualizzazione
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 |
Quantità geometriche
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 |
Operazioni booleane
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi 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)