Master index | Index for matGeom\polygons2d |
Contents | POLYGONS Manipulation of planar polygons and polylines |
cart2geod | CART2GEOD Convert cartesian coordinates to geodesic coord. |
clipPolygon | CLIPPOLYGON Clip a polygon with a rectangular box. |
clipPolygonHP | CLIPPOLYGONHP Clip a polygon with a Half-plane defined by a directed line. |
clipPolyline | CLIPPOLYLINE Clip an open polyline with a rectangular box. |
contourMatrixToPolylines | CONTOURMATRIXTOPOLYLINES Converts a contour matrix array into a polyline set. |
convexHull | CONVEXHULL Convex hull of a set of points. |
convexification | CONVEXIFICATION Compute the convexification of a polygon. |
curvature | CURVATURE Estimate curvature of a polyline defined by points. |
curveCMoment | CURVECMOMENT Compute centered inertia moment of a 2D curve. |
curveCSMoment | CURVECSMOMENT Compute centered scaled moment of a 2D curve. |
curveMoment | CURVEMOMENT Compute inertia moment of a 2D curve. |
densifyPolygon | DENSIFYPOLYGON Add several points on each edge of the polygon. |
distancePointPolygon | DISTANCEPOINTPOLYGON Shortest distance between a point and a polygon. |
distancePointPolyline | DISTANCEPOINTPOLYLINE Compute shortest distance between a point and a polyline. |
distancePolygons | DISTANCEPOLYGONS Compute the shortest distance between 2 polygons. |
distancePolygonsNoCross | DISTANCEPOLYGONSNOCROSS Compute the shortest distance between 2 polygons. |
distancePolylines | DISTANCEPOLYLINES Compute the shortest distance between 2 polylines. |
drawPolygon | DRAWPOLYGON Draw a polygon specified by a list of points. |
drawPolyline | DRAWPOLYLINE Draw a polyline specified by a list of points. |
drawVertices | DRAWVERTICES Draw the vertices of a polygon or polyline. |
expandPolygon | EXPANDPOLYGON Expand a polygon by a given (signed) distance. |
fillPolygon | FILLPOLYGON Fill a polygon specified by a list of points. |
findPoint | FINDPOINT Find index of a point in an set from its coordinates. |
geod2cart | GEOD2CART Convert geodesic coordinates to cartesian coord. |
intersectEdgePolygon | INTERSECTEDGEPOLYGON Intersection point of an edge with a polygon. |
intersectLinePolygon | Intersection points between a line and a polygon. |
intersectLinePolyline | INTERSECTLINEPOLYLINE Intersection points between a line and a polyline. |
intersectPolylines | INTERSECTPOLYLINES Find the common points between 2 polylines. |
intersectRayPolygon | Intersection points between a ray and a polygon. |
isPointInPolygon | ISPOINTINPOLYGON Test if a point is located inside a polygon. |
isPointOnPolyline | ISPOINTONPOLYLINE Test if a point belongs to a polyline. |
medialAxisConvex | MEDIALAXISCONVEX Compute medial axis of a convex polygon. |
minimumCaliperDiameter | MINIMUMCALIPERDIAMETER Minimum caliper diameter of a set of points. |
parametrize | PARAMETRIZE Parametrization of a polyline, based on edges lengths. |
pointSetsAverage | POINTSETSAVERAGE Compute the average of several point sets. |
polygonArea | Compute the signed area of a polygon. |
polygonBounds | Computes the bounding box of a polygon. |
polygonCentroid | Computes the centroid (center of mass) of a polygon. |
polygonContains | POLYGONCONTAINS Test if a point is contained in a multiply connected polygon. |
polygonCurvature | POLYGONCURVATURE Estimate curvature on polygon vertices using polynomial fit. |
polygonEdges | POLYGONEDGES Return the edges of a simple or multiple polygon. |
polygonEquivalentEllipse | Compute equivalent ellipse with same second order moments as polygon. |
polygonInertiaEllipse | POLYGONINERTIAELLIPSE Compute ellipse with same inertia moments as polygon. |
polygonLength | POLYGONLENGTH Perimeter of a polygon. |
polygonLoops | POLYGONLOOPS Divide a possibly self-intersecting polygon into a set of simple loops. |
polygonNormalAngle | Normal angle at each vertex of a polygon. |
polygonOuterNormal | Outer normal vector for a given vertex(ices). |
polygonPoint | POLYGONPOINT Extract a point from a polygon. |
polygonSecondAreaMoments | POLYGONSECONDAREAMOMENTS Compute second-order area moments of a polygon. |
polygonSelfIntersections | POLYGONSELFINTERSECTIONS Find self-intersection points of a polygon. |
polygonSignature | POLYGONSIGNATURE Polar signature of a polygon (polar distance to origin). |
polygonSkeleton | Skeletonization of a polygon with a dense distribution of vertices. |
polygonSubcurve | Extract a portion of a polygon. |
polygonSymmetryAxis | POLYGONSYMMETRYAXIS Try to identify symmetry axis of polygon. |
polygonToRow | POLYGONTOROW Convert polygon coordinates to a row vector. |
polygonVertices | POLYGONVERTICES Extract all vertices of a (multi-)polygon. |
polylineCentroid | Computes the centroid of a curve defined by a series of points. |
polylineLength | POLYLINELENGTH Return length of a polyline given as a list of points. |
polylinePoint | POLYLINEPOINT Extract a point from a polyline. |
polylineSelfIntersections | POLYLINESELFINTERSECTIONS Find self-intersection points of a polyline. |
polylineSubcurve | Extract a portion of a polyline. |
projPointOnPolygon | PROJPOINTONPOLYGON Compute position of a point projected on a polygon. |
projPointOnPolyline | PROJPOINTONPOLYLINE Compute position of a point projected on a polyline. |
randomPointInPolygon | RANDOMPOINTINPOLYGON Generate random point(s) in a polygon. |
readPolygonSet | READPOLYGONSET Read a set of simple polygons stored in a file. |
removeMultipleVertices | REMOVEMULTIPLEVERTICES Remove multiple vertices of a polygon or polyline. |
resamplePolygon | RESAMPLEPOLYGON Distribute N points equally spaced on a polygon. |
resamplePolygonByLength | RESAMPLEPOLYGONBYLENGTH Resample a polygon with a fixed sampling step. |
resamplePolyline | RESAMPLEPOLYLINE Distribute N points equally spaced on a polyline. |
resamplePolylineByLength | RESAMPLEPOLYLINEBYLENGTH Resample a polyline with a fixed sampling step. |
reversePolygon | REVERSEPOLYGON Reverse a polygon, by iterating vertices from the end. |
reversePolyline | REVERSEPOLYLINE Reverse a polyline, by iterating vertices from the end. |
rowToPolygon | ROWTOPOLYGON Create a polygon from a row vector. |
signatureToPolygon | SIGNATURETOPOLYGON Reconstruct a polygon from its polar signature. |
simplifyPolygon | SIMPLIFYPOLYGON Douglas-Peucker simplification of a polygon. |
simplifyPolyline | SIMPLIFYPOLYLINE Douglas-Peucker simplification of a polyline. |
smoothPolygon | SMOOTHPOLYGON Smooth a polygon using local averaging. |
smoothPolyline | SMOOTHPOLYLINE Smooth a polyline using local averaging. |
splitPolygons | SPLITPOLYGONS Convert a NaN separated polygon list to a cell array of polygons. |
steinerPoint | STEINERPOINT Compute steiner point (weighted centroid) of a polygon. |
steinerPolygon | STEINERPOLYGON Create a Steiner polygon from a set of vectors. |
supportFunction | SUPPORTFUNCTION Compute support function of a polygon. |
triangulatePolygon | Computes a triangulation of the input polygon. |
writePolygonSet | WRITEPOLYGONSET Write a set of simple polygons into a file. |