add missing drapePoint function