private ToolPreviewOutcome Preview(IWorldView worldView, IToolBehavior toolBehavior, IToolBrush toolBrush, IEnumerable <Vector> inputPositions) { IEnumerable <Vector> toolPositions = toolBrush.ComputePositions(inputPositions); return(toolBehavior.Preview(worldView, toolPositions)); }
private static bool Validate(IWorldView worldView, IToolBehavior toolBehavior, IEnumerable <Vector> toolPositions) { return(toolBehavior.Preview(worldView, toolPositions).IsPossible()); }