public GameObject CreateParallelLineThroughDot(Line line, Vector3 dot, Transform transform, Material material) { List <Func <float, float> > parallelLineEquations = LineEquationAlgorithms.CreateLineEquationOfParallelLine(line.StartPoint, line.EndPoint, dot); float parameter = 5; return(CreateLongLineObjectCore(parallelLineEquations, transform, material, parameter)); }