logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cgalsimp2 - triangular surface mesh simplification

Author

Qianqian Fang (fangqq@gmail.com), Fernando Cacciola and Andreas Fabri 1.0 30 June 2020 man(7)

Description

The cgalsimp2 utility is a surface mesh simplification utility built on the CGAL library (http://cgal.org). This tool utilizes the Lindstrom–Turk algorithm and decimate a surface mesh into a coarser downsampled surface. The output mesh is stored in a file named "out.off". Please see https://doc.cgal.org/latest/Surface_mesh_simplification/ for details regarding the underlying algorithm.

Name

cgalsimp2 - triangular surface mesh simplification

Options

This program accepts the following input parameters: input.off|(required) The input surface mesh in the OFF format keepratio|(required) A 0-1 floating point number denoting the percentage of edges that will be preserved (1-keepratio is the percentage of edges that will be decimated. If keepratio is negative, it triggers the "LindstromTurk placement" policy; otherwise, it uses a mid-point placement policy by clapsing an edge to its mid-point.

See Also

cgalmesh(7), cgalsurf(7), cgalpoly(7), cork(7), meshfix(7), jmeshlib(7)

Synopsis

cgalsimp2 input.off keepratio

See Also