geomutil(3gv)

πŸ’– NAME πŸ’–

okay bestie, welcome to geomutil(3gv) β€” it's the intro page for a whole lil library of miscellaneous geometry utilities ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so the geomutil library is basically a grab bag πŸŽ€ of assorted geometric utility functions, and here's the whole squad:

  • AnyToPL() β€” converts any geom into a polylist πŸ’…
  • PLCombine() β€” smooshes two polylists together into one, like a friendship bracelet but geometry
  • PLConsol() β€” consolidates the vertices in a polylist 🧚
  • Bdy() β€” generates the boundary (the edge) of a geom πŸ‘‘

each one of these has its own separate manual page that gives you the full usage deets, so go read those when you need the specifics, iykyk πŸ’œ


🌸 linking it up (the important part) 🌸

to link your program against the geomutil library you specify -lgeomutil and then follow it with the usual list of OOGL libraries, like this:

cc -L${LIBDIR} prog.c -lgeomutil \
  -lstubdraw -lgeom -lvect -lpolylist -lquad \
  -lmesh -lbezier -linst -ltlist -llist -lstub \
  -lgeom -loogl -lbbox -lshade -lcolor -l3d -lm

like yes it's a lot of libraries, it's giving main character energy with that whole entourage, but that's the vibe fr fr 🌈


⭐ SEE ALSO ⭐

go peek at these when you're done here, no cap:


πŸ‘‘ AUTHOR πŸ‘‘

  • Celeste Fowler
  • The Geometry Center

and that's the whole page bestie 🫢 this absolute icon of a manpage came to you from the Geometry Center, dated July 10, 1992, and it lives at geomutil(3gv) β€” periodt πŸ’–βœ¨πŸŽ€