public PVector GetPointFromPosition(double value) { var vec = FullVector.Copy(); vec.Mult(value); vec.Add(Start); return(vec); }
public PVector ClosesetPoint(PVector p) { var a = FullVector.Copy(); a.RotateDegrees(90); a.Add(p); var newLine = new PLine(p, a); return(Intersection(newLine)); }
public override FullVector AsFullVector() { FullVector result = new FullVector(Length); int index = 0; foreach (VectorBase vector in _vectors) { for (int i = 0; i < vector.Length; i++) { result.SetValueAtIndex(vector[i], index + i); } index += vector.Length; } return(result); }