code regarding concave in GRASS

Which part of GRASS does it have the code dealing with convex and concave?

zhuang@access.digex.net