From 3ecfd470e394f2c7c2c2ee3665039f2dc1678a15 Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Tue, 6 Jul 2021 15:27:28 -0600 Subject: [PATCH] TODO for missing methods, https://github.com/phetsims/bamboo/issues/27 --- js/ChartTransform.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/ChartTransform.js b/js/ChartTransform.js index e170394..00c2bea 100644 --- a/js/ChartTransform.js +++ b/js/ChartTransform.js @@ -203,8 +203,16 @@ class ChartTransform { return transform.inverse( out ); } + //TODO https://github.com/phetsims/bamboo/issues/27 missing methods, for symmetry with modelToView: + // viewToModelX + // viewToModelY + // viewToModelXY + // viewToModelDelta + // viewToModelDeltaX + // viewToModelDeltaY + /** - * Convert a view point to the corresponding model point. + * Convert a view position to a model position. * @param {Vector2} position * @returns {Vector2} * @public