bdy(1gv)

πŸ’– bdy β€” boundary curve finder πŸ’–

ok so bestie, this is bdy from the Geomview manual (that's the 1gv section, iykyk), and she's here to find boundary curves for you. no cap.


✨ SYNOPSIS ✨

bdy [precision]

that's it. one optional little guy. slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Bdy is a filter, right? her whole job is finding boundary curves inside Geomview objects. the way that works: she reads a geomview object from standard input, does her thing, and prints the resultant vector object to standard output. iconic behaviour honestly.

and how does she find those segments? two-step process, periodt:

  1. first she converts the object you gave her into a polylist (peep anytooff(1) if you wanna know more about that).
  2. then she finds all the edges used once and only once in that polylist, and smooshes those edges together into a vector object. πŸŽ€

the optional precision argument is the maximum distance between vertices that are to be considered identical. by default it's set to 0.0, which means the vertices have to be numerically identical β€” like, exactly the same, no wiggle room. sometimes you lowkey have to bump it up to a higher value to compensate for floating-point error. that's just the vibe of floating point, bestie 😭

πŸ’… also worth knowing: the vector object is always black. always. no notes.

πŸ’€ BUGS πŸ’€

ngl the vector object is not a particularly compact representation of itself, because it contains many 2-vertex segments which could have been combined. she's not minimising, she's just vibing. πŸ™ˆ


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Celeste Fowler The Geometry Center


Geometry Center Β· June 12 1992 Β· mwah πŸ’‹ go find some boundaries bestie, you got this 🫢✨🌸