point polygon templated