Applying geometric constraints