geometry
Library for extending MatGeom functionality.
Select category:
2D Polylines
2D Ellipses
2D Polygons
2D Piecewise polynomial shapes
2D Others
Input [broken]
Output
CLIPPOLYLINE Clip an open polyline with a rectangular box.
Clip (possibly composite) polylines with polygon(s) using one of boolean methods.
Simplify or subsample a polyline using the Ramer-Douglas-Peucker algorithm, a.k.a. the iterative end-point fit algorithm or the split-and-merge algorithm.
Calculates ellipse parameters from covariance matrix.
Calculates covariance matrix from ellipse.
CLIPPOLYGON Clip a polygon with a rectangular box.
Perform boolean operation on polygon(s) using the Clipper library.
Perform boolean operation on polygon(s) using the algorithm by Martinez, Rueda and Feito.
Draw a filled polygon.
Returns true if the polygon P are oriented Clockwise.
Returns true if the polygon P are oriented Counter-Clockwise.
Returns true if the polygon P are oriented Counter-Clockwise.
Inspect winding direction of polygon(s).
Convert a cell style set of polygons into an array of subpolygons separated by NaN rows.
Orient polygon counterclockwise or clockwise.
Connect outer (filled) polygon and inner (hole) polygons using branch cuts such that all polygons are connected as one string of vertices, for subsequent plotting polygons with holes using the func...
Converts a polygon to a shape with edges defined by smooth polynomials.
Convert Polygons to counterclockwise contours(polygons).
Convert Polygons to clockwise contours(polygons).
Simplify a polygon using the Ramer-Douglas-Peucker algorithm.
Evaluates parametric CURVE at T.
Adaptive sampling of a parametric curve.
Plots a 2D shape defined by piecewise smooth polynomials in the current axis.
Converts a polygon to a shape with edges defined by smooth polynomials.
Transforms a 2D shape described by piecewise smooth polynomials into a polygon.
Centroid of a simple plane shape defined with piecewise smooth polynomials.
Applies transformation to a shape defined by piecewise smooth polynomials.
Finds the four lines tangent to two circles with given centers and radii.
Create object of the svg class.
Plots and SVG object.
Returns paths in IDS.
Converts the SVG path to an array of polygons.
normalizes and SVG.
@svg/pathid
Not implemented.
@svg/height
Not implemented.
@svg/width
Not implemented.
Uses data to build a file compatible with Gmsh.
Package: geometry