Hi Curtis, Le 15/06/2011 17:59, Curtis Jensen a écrit :
In the commons math 3.0 Geometry package, How can I translate I Vector2D by a distance and angle? I would like to move a 2D point by a specified distance and angle, but I'm not seeing how.
You can use the static method getTransform to convert a java.awt.AffineTransform into a org.apache.commons.math.geometry.partitioning.Transform<Euclidean2D, Euclidean1D>.
This transform can be applied points, hyperplanes and sub-hyperplanes. when applied to sub-hyperplanes, it takes care of transforming the 1D intervals sets underneath.
Luc
Thanks, Curtis --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org