PolygonDecomposition
PolygonDecomposition[poly]
decomposes the polygon poly into a disjoint union of simpler polygons.
PolygonDecomposition[poly,"type"]
decomposes into polygons of the specified "type".
Details
- PolygonDecomposition is also known as tessellation, triangulation or partition.
- PolygonDecomposition is typically used to represent a polygon as a union of simpler objects for which a problem may be easier to solve.
- PolygonDecomposition gives a Polygon consisting of a union of polygons with disjoint interiors, but boundaries may overlap.
- Possible "type" specifications:
-
"Simple" simple polygons "Convex" convex polygons "Triangle" triangles
Examples
open allclose allBasic Examples (2)
Scope (15)
Basic Uses (5)
Decompose into polygons of a specific type:
PolygonDecomposition works on polygonal regions:
PolygonDecomposition works on polygons with GeoPosition:
Polygons with GeoGridPosition:
Convex Decomposition (4)
Properties & Relations (2)
Use SimplePolygonQ to test whether a polygon is simple:
Decompose into simple polygons:
Use ConvexPolygonQ to test whether a polygon is convex:
Text
Wolfram Research (2019), PolygonDecomposition, Wolfram Language function, https://reference.wolfram.com/language/ref/PolygonDecomposition.html.
CMS
Wolfram Language. 2019. "PolygonDecomposition." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PolygonDecomposition.html.
APA
Wolfram Language. (2019). PolygonDecomposition. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PolygonDecomposition.html