Contenu principal

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Polygones élémentaires

Fonctions de polygone

À partir d’un ensemble de points donné, vous pouvez créer des polygones simples et calculer des quantités géométriques de base comme l’aire. Pour créer des polygones plus complexes ou accéder à des informations géométriques supplémentaires, créez un objet polyshape. Utilisez ensuite les fonctions d’objet pour modifier, faire des requêtes et visualiser le polygone ou l’ensemble de polygones.

Fonctions

développer tout

boundaryshapeCreate polyshape from 2-D triangulation
inpolygonFind points located inside or on edge of polygon
nsidedpolyCreate polyshape representing regular polygon with n sides
polyareaCompute area of polygon
polybufferCreate buffer around points, lines, or polyshape objects
rectintFind rectangle intersection area

Créer et modifier un polyshape

polyshapeRepresent 2-D polygonal shapes
addboundaryAdd polyshape boundary
polybufferCreate buffer around points, lines, or polyshape objects
rmboundaryRemove polyshape boundary
rmholesRemove holes in polyshape
rmsliversRemove polyshape boundary outliers
rotateRotate polyshape
scaleScale polyshape
simplifySimplify polyshape boundaries
sortboundariesSort polyshape boundaries
sortregionsSort polyshape regions
translateTranslate polyshape

Faire de requêtes et visualiser

boundaryFind vertex coordinates of polyshape boundary
holesConvert polyshape hole boundaries to array of polyshape objects
isholeDetermine if polyshape boundary is a hole
isinteriorQuery points inside polyshape
issimplifiedDetermine if polyshape is well-defined
nearestvertexQuery nearest polyshape vertex
numboundariesFind number of polyshape boundaries
numsidesFind number of polyshape sides
overlapsDetermine whether polyshape objects overlap
plotPlot polyshape
regionsAccess polyshape regions

Quantités géométriques

areaCompute area of polyshape
boundingboxFind bounding box of polyshape
centroidFind centroid of polyshape
convhullFind convex hull of polyshape
turningdistCompute turning distance between polyshape objects
triangulationTriangulate polyshape
perimeterCompute perimeter of polyshape

Opérations booléennes

intersectIntersection of polyshape objects or intersection of line segment with polyshape
subtractDifference of two polyshape objects
unionUnion of polyshape objects
xorExclusive OR of two polyshape objects