Menu

demo pages

David Legland

MatGeom Demo Pages

Here are some scripts that can be used to have an overview of MatGeom possiblities, and/or to have some basis for implementation of own scripts.

geom2d

  • Triangle demo explain how to create, display and combine points, lines, circles, and basic polygons
  • Parabola curvature was used to compute curvature at various positions of a parabola

polygons2d

  • Onion Peeling basic manipulation of polygons, by recursively removing the convex hull of a set of points
  • Polygon expansion Try to compute a polygon located at a given distance from another polygon
  • Medial axis tries to compute the medial axis of a polygon (still some bugs, however...)

geom3d

meshes3d

  • Voronoi cell create a random voronoi polyhedra, and display it
  • Common polyhedra display some common polyhedra used for quickly testing the library

Related

Wiki: geom2d