25 unstable releases (7 breaking)

0.8.0 Nov 12, 2021
0.7.2 Mar 31, 2021
0.6.2 Feb 9, 2021
0.5.0 May 12, 2020
0.3.2 Nov 11, 2019

#1690 in Algorithms

32 downloads per month

MIT/Apache

39KB
195 lines

gut

Geometry UTilities: a library for storing, manipulating and processing geometry constructs.

On crates.io On docs.rs Build status

This library is a work in progress and is not ready for production use.

Features

  • Closed and open intervals (ClosedInterval, OpenInterval)
  • Axis aligned bounding boxes (BBox).
  • Mesh data structures with statically checked attributes on various topologies (in parentheses):
    • PointCloud (vertex)
    • TriMesh (vertex, face, face-vertex, face-edge)
    • PolyMesh (vertex, face, face-vertex, face-edge)
    • TetMesh (vertex, cell, cell-vertex, cell-face)
    • TetMeshExt (vertex, cell, cell-vertex, cell-face, vertex-cell)
  • Mesh merging and splitting algorithms.
  • Mesh transformations: scale/rotate/translate
  • Basic mesh builders:
    • Torus
    • Solid box (tetmesh)
    • Grid
    • Icosahedron
    • Octahedron
  • Tetrahedron mesh (TetMesh) surface extraction.
  • Centroid/volume/area computations.
  • Mesh I/O via Legacy VTK files (feature gated behind the "io" feature)
  • Normal computation.

License

This repository is licensed under either of

at your option.

Dependencies

~9.5MB
~170K SLoC