 <p>That generally depends: </p> <p>IF you are using more then one property of the object the first solution is better than adding more parameters. This have also sense if the operation is related only to object otherwise use the second form if this is only some atomic operation that can be performed on other objects either. </p> <p>Another thing it hat <code>get</code> prefix should be generally used for class members, in this case it seams like it only operate on some constant and extern value. We don not the unit of it. Better naming would be for example <code>pixelsToMetters(int pixel)</code>, in this case we know both units. </p>