Answer the question
In order to leave comments, you need to log in
How to create a Cartesian coordinate system in Java and position points relative to it?
Hello, how can I organize a Cartesian coordinate system in Java and position points relative to it?
I drew the coordinate axes, divided them into cells, now I need the points that I draw using drawLine () to be located relative to the Cartesian system that are drawn. Now, I have some points that have negative coordinates, but you can't draw them in the Java coordinate system. Thank you!
Answer the question
In order to leave comments, you need to log in
Pozhet affine transformation.
In the standard library https://docs.oracle.com/javase/7/docs/api/java/awt...
Or in geotools docs.geotools.org/stable/userguide/tutorial/affine... (this is my own I use)
Well, read https://en.m.wikipedia.org/wiki/Affine_transformation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question