man(7)
π cgalsimp2 β the man page, but make it cute π
okay so bestie, this is the man(7) page for cgalsimp2, and no cap it's giving triangular surface mesh simplification energy. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
cgalsimp2 β triangular surface mesh simplification. that's the whole vibe. π
πΈ SYNOPSIS πΈ
cgalsimp2 input.off keepratio
literally just two things and you're done, iykyk. π«Ά
π¦ DESCRIPTION π¦
okay so cgalsimp2 is a surface mesh simplification utility, and it's built on the CGAL library (that's http://cgal.org if you wanna go look, which you should, it's iconic).
this tool uses the LindstromβTurk algorithm and decimates a surface mesh into a coarser, downsampled surface. like, it takes your mesh and it ate down to something smaller. periodt.
the output mesh gets stored in a file named "out.off". that's the name, don't fight it. π
if you want the whole lore on the underlying algorithm, please see https://doc.cgal.org/latest/Surface_mesh_simplification/. go read it, it's a whole thing. πβ¨
π OPTIONS π
this program accepts the following input parameters (yes, both of them, both required, no you can't skip one):
input.off| (required) β the input surface mesh, in the OFF format. it's required bestie, you can't just not bring it.keepratio| (required) β a 0β1 floating point number denoting the percentage of edges that will be preserved. and yes,1-keepratiois the percentage of edges that will be decimated, so the math is mathing. now here's the tea: ifkeepratiois negative, it triggers the "LindstromTurk placement" policy; otherwise, it uses a mid-point placement policy, by clapsing an edge to its mid-point. so like, negative = one vibe, everything else = the mid-point vibe. π
π₯ SEE ALSO π₯
cgalmesh(7), cgalsurf(7), cgalpoly(7), cork(7), meshfix(7), jmeshlib(7)
the whole friend group, go say hi. π«Άβ¨
π AUTHOR π
Qianqian Fang (fangqq@gmail.com), Fernando Cacciola and Andreas Fabri
and that's the page!! π version1.0, dated30 June 2020, straight from thecgalsimp2 man page. slay, go simplify something, mwah ππ
π¦ where this page comes from
- debian trixie: iso2mesh-tools 1.9.8+ds-2 Β· GPL-2.0-or-later
- ubuntu jammy: iso2mesh-tools 1.9.6+ds-7 Β· GPL-2.0-or-later
- ubuntu questing: iso2mesh-tools 1.9.8+ds-2
- ubuntu resolute: iso2mesh-tools 1.9.8+ds-3 Β· GPL-2.0-or-later
- ubuntu stonking: iso2mesh-tools 1.9.8+ds-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms