static public bool TryGetIntersection(this LineF2 item, LineF2 line, out float distance, out VectorF2 point) { if (item.TryGetIntersection(line, out distance)) { point = item.GetPointAlong(distance); return(true); } point = default(VectorF2); return(false); }
static public bool TryGetIntersection(this LineF2 item, LineF2 line, out VectorF2 point) { float distance; return(item.TryGetIntersection(line, out distance, out point)); }