code: func (p *Path) Project(point *Point) float64 {
  	return p.Measure(point) / p.Distance()
  }
docs: // Project computes the measure along this path closest to the given point,
  // normalized to the length of the path.