[API Review] RT-27087: Point2D & Point3D multiplication

Pavel Safrata pavel.safrata at oracle.com
Fri Jan 18 09:37:08 PST 2013

we've recently added a bunch of vector algebra methods to Point2D and 
Point3D. We've missed one that would be very handy.

Jira: http://javafx-jira.kenai.com/browse/RT-27087

The proposed API:
Point2D: Point2D multiply(double factor)
Point3D: Point3D multiply(double factor)

The meaning should be obvious - returns a point with all the coordinates 
multiplied by the given factor.
To avoid any unnecessary discussion, let me remind you that we represent 
vectors by these classes and that these classes are immutable.


More information about the openjfx-dev mailing list