public void PopulateTrackNodeWithBesier(int numberOfNodes) { trackNode.nodeList.Clear(); for (int node = 0; node < numberOfNodes; node++) { trackNode.AddNode(sourceBesierSpline.GetPoint((float)node / (float)numberOfNodes)); } }