Add isProjectBetweenLine() for snapPerp().