code: func (p *Path) IntersectsLine(line *Line) bool {
  	for i := 0; i < len(p.PointSet)-1; i++ {
  		pTest := NewLine(&p.PointSet[i], &p.PointSet[i+1])
  		if pTest.Intersects(line) {
  			return true
  		}
  	}
  
  	return false
  }
docs: // IntersectsLine takes a Line and checks if it intersects with the path.