public float GetInterLineMeasurement(Line l2) { float cutoff_distance = (this.Length() + l2.Length()) / measure_factor; return (l2.GetLengthCloserThan(cutoff_distance, this.PositionData) + this.GetLengthCloserThan(cutoff_distance, l2.PositionData)) / cutoff_distance * measure_factor; }