Dynamic approximation of complex graphical constraints by linear constraints
Abstract
Current constraint solving techniques for interactive graphical applications cannot satisfactorily handle constraints such as non-overlap, or containment within non-convex shapes or shapes with smooth edges. We present a generic new technique for efficiently handling such kinds of constraints based on trust regions and linear arithmetic constraint solving. Our approach is to model these more complex constraints by a dynamically changing conjunction of linear constraints. At each stage, these give a local approximation to the complex constraints. During direct manipulation, linear constraints in the current local approximation can become active indicating that the current solution is on the boundary of the trust region for the approximation. The associated complex constraint is notified and it may choose to modify the current linear approximation. Empirical evaluation demonstrates that it is possible to (re-)solve systems of linear constraints that are dynamically approximating complex constraints such as non-overlap sufficiently quickly to support direct manipulation in interactive graphical applications.
- Venue
- UIST 2002
- Volume
- Proceedings of the 15th annual ACM symposium on User interface software and technology
- DOI
- 10.1145/571985.572012
- https://dl.acm.org/doi/pdf/10.1145/571985.572012
- Anthology ID
2002.uist.20
Cite
@inproceedings{hurst-etal-2002-dynamic,
title = {{Dynamic approximation of complex graphical constraints by linear constraints}},
author = {Nathan Hurst and Kim Marriott and Peter Moulder},
booktitle = {Proceedings of the 15th annual ACM symposium on User interface software and technology},
isbn = {1581134886},
year = {2002},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/571985.572012},
url = {https://doi.org/10.1145/571985.572012},
abstract = {Current constraint solving techniques for interactive graphical applications cannot satisfactorily handle constraints such as non-overlap, or containment within non-convex shapes or shapes with smooth edges. We present a generic new technique for efficiently handling such kinds of constraints based on trust regions and linear arithmetic constraint solving. Our approach is to model these more complex constraints by a dynamically changing conjunction of linear constraints. At each stage, these give a local approximation to the complex constraints. During direct manipulation, linear constraints in the current local approximation can become active indicating that the current solution is on the boundary of the trust region for the approximation. The associated complex constraint is notified and it may choose to modify the current linear approximation. Empirical evaluation demonstrates that it is possible to (re-)solve systems of linear constraints that are dynamically approximating complex constraints such as non-overlap sufficiently quickly to support direct manipulation in interactive graphical applications.}
}