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

PLConsol() - polylist consolidator.

Author

       Celeste Fowler
       The Geometry Center

Geometry Center                                   June 25, 1992                                    plconsol(3gv)

Description

       PLConsol()  is  a  function  which  takes a geom, which must be a polylist, as its argument and returns a
       version of the polylist which has no repeated vertices.  Two vertices are considered to be  identical  if
       they  are within prec of one another.  The comparison takes into account only the location of the points,
       not their normals or colors.

       The vertices of the resultant polyline have been sorted, and so there order bears no resemblance  to  the
       order of the point in the original polylist.

Linking

       PLConsol()  is  part of the geomutil library; see geomutil(3) for information on how to link your program
       with this library.

Name

       PLConsol() - polylist consolidator.

See Also

offconsol(1), geomview(1), geomutil(3)

Synopsis

       Geom *PLConsol(Geom *g, float prec);

See Also