Libmat
Some libs for computing medial axis, 3D Volumetric RPD, and others ...
Install / Use
/learn @ningnawang/LibmatREADME
LibMAT
Some commonly used libraries for computing the 3D medial axis transform (MAT) given a 3D triangle mesh (or tetrahedral mesh).
Starter code is from the paper "MATFP: Computing Medial Axis Transform with Feature Preservation via Restricted Power Diagram".
The extended work "MATTopo: Topology-preserving Medial Axis Transform with Restricted Power Diagram" heavily replies on this repo using tag v0.0.1.
Attribution
If you use our library in your research paper, please cite us! You can use the bibtex block below:
@misc{libmat,
title = {{LibMAT}: A C++ Library for Medial Axis Transform},
author = {Ningna Wang},
howpublished = "\url{https://github.com/ningnawang/libmat}",
year = {2024}
}
1. Lib using GPU (set option LIBMAT_IS_USE_GPU as ON)
1.1. dist2mat
Given a 3D sample, compute its closest medial element (sphere/cone/slab) on the given medial mesh.
1.2. rpd3d & rpd3d_api
Libs and APIs for computing 3D RPD using CUDA.
1.3. matfun_fix
- fix_common
- fix_topo
- fix_extf
- fix_intf
- fix_geo
1.4. IO_CUDA
Some IO related libs related to CUDA 3D RPD output.
2. Lib NOT using GPU (set option LIBMAT_IS_USE_GPU as OFF)
2.1. inputs
- SurfaceMesh (extends GEO::Mesh)
- TetMesh
- AABBWrapper
- Sharp/Concave Feature Detection
2.2. matbase
- medial_sphere
- medial_primitives
- medial_mesh
2.4. matfun
- shrinking
- updating (sphere-optimization)
- thinning
2.3. IO_CXX
Some IO related libs.
2.5. rpd3d_base
- 3D triangulation using CGAL
- ConvexCellHost
TODO list:
- ~~Update CMakeLists.txt to remove some unused external dependencies, such as
polyscope.~~ - Enable platform check.
- Add more tests.
- Write more docs.
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
