public static StringBuilder AsReadableString(this BaseElement baseElement) { var sB = new StringBuilder(); sB.AppendLine($"Type: {baseElement}"); sB.AppendLine($"Plane: {baseElement.Plane}"); sB.AppendLine("Result:"); sB.AppendLine($"{baseElement.Calculate()}"); sB.AppendLine("Element positions:"); sB.AppendLine($"{baseElement.Positions.AsReadableString()}"); sB.AppendLine("Element selected positions:"); sB.AppendLine($"{baseElement.SelectedPositions.AsReadableString()}"); return(sB); }