public Vector2d PointToScreenSpace(Vector2d pntIn) { Vector2d[] tempPoints = new Vector2d[1]; tempPoints[0] = Vector2d.Create(pntIn.X, pntIn.Y); Matrix2d mat = Matrix2d.RotateAt(SelectionSet[0].RotationAngle / 180 * Math.PI, Vector2d.Create((SelectionSet[0].X), (SelectionSet[0].Y))); mat.TransformPoints(tempPoints); return(tempPoints[0]); }