Contenido principal

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Polígonos elementales

Funciones poligonales

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

expandir todo

boundaryshapeCreate polyshape from 2-D triangulation
inpolygonFind points located inside or on edge of polygon
nsidedpolyCreate polyshape representing regular polygon with n sides
polyareaÁrea de un polígono
polybufferCreate buffer around points, lines, or polyshape objects
rectintFind rectangle intersection area

Crear y modificar objeto 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

Consultar y visualizar

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
plotRepresentar gráficamente polyshape
regionsAccess polyshape regions

Cantidades geométricas

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

Operaciones booleanas

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