[ 
https://issues.apache.org/jira/browse/GEOMETRY-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308349#comment-17308349
 ] 

Christoph Läubrich commented on GEOMETRY-118:
---------------------------------------------

>  I don't get why on the one hand it is assumed that "y has no influence" 
> while, on the other, there is a check on m01

Maybe "assume" is the wrong wording here. Actually if I know that I do not use 
shear transforms (or do not shear in x direction) I can always use this method. 
At least I should not get a "wrong" value if I accidentally call this method.

An alternative would be to return NaN but I found the exception more valuable 
here to detect problems.

> Why is the one-arg method not using LinearCombination while the two-args 
> method is?

LinearCombination seems only useful if more than one value is combined

> AffineTransformMatrix2D should support direct transformation of x/y values
> --------------------------------------------------------------------------
>
>                 Key: GEOMETRY-118
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-118
>             Project: Apache Commons Geometry
>          Issue Type: Improvement
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> [~mattjuntunen] as discussed on the mailinglist, it would be convenient if 
> there would be methods to directly transform a single x/y value instead of 
> using vectors and/or export the matrix as an array and perform it manually.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to