/// <summary> /// Initializes a new instance of the <see cref="EditPointAction" /> class. /// </summary> /// <param name="lineVector">The line vector of the point to edit.</param> /// <param name="inverseTransform">The inverse transform matrix.</param> /// <param name="tool">The tool.</param> public EditPointAction( [NotNull] LineVector lineVector, Matrix3x2 inverseTransform, [NotNull] EditLineTool tool) { Debug.Assert(lineVector != null, "lineVector != null"); Debug.Assert(tool != null, "tool != null"); Debug.Assert(!lineVector.IsFixed, "!lineVector.IsFixed"); _lineVector = lineVector; _inverseTransform = inverseTransform; _initial = lineVector; _tool = tool; }