public Location2D ProjectToLine(LinearParameter2D lp) { return(lp.Point(0) + lp.DirectionVector().Project((new Vector2D(this, lp.Point(0))))); }
public Location2F ProjectToLine(LinearParameter2D lp) { return((Location2F)lp.Point(0) + (Vector2F)lp.DirectionVector().Project((new Vector2F(this, (Location2F)lp.Point(0))))); }