This will fail whenever more than one point are at the same coordinate. But you know that the vertex is a virtual vertex when it has a `_previous` property, so you can use this in the `if`.