@ kevin
i have provided a test data for my problem in my second post.im just trying to read the road coordinates from a file(latitude,longitude endpoints) and trying to plot it in my screen.since...
Type: Posts; User: mukilan
@ kevin
i have provided a test data for my problem in my second post.im just trying to read the road coordinates from a file(latitude,longitude endpoints) and trying to plot it in my screen.since...
ok this is my test data
id:1000
minX:43.0999984741211
minY:80.0999984741211
minX:43.0999984741211
minY:80.1019973754883
id:1001
minX:43.101001739502
minY:80.0999984741211
If you have small lines, then scale the drawing by either altering the values, or calling graphics.scale
hi i have tried scaling but i get divide by zero exception.....can u plz give an elaborate...
sorry that was my first post so i i was not familiar with thread creation...
thanks for ur reply ill look into it and reply :)
This is my code
import java.sql.*;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.awt.geom.Line2D;
import java.awt.Graphics2D;
import java.sql.Statement;
well yeah tats my problem i have sorted out the quest of drawing lines with floating points............. but for a line with a very "small distance" do u have any idea of drawing it?..........can we...
Hi im using applet for my project to draw road maps with the latitude longitude information.But im having a problem in tat.my values read
minX=40.1128
maxX=40.1150
minY=30.1145
maxY=30.1138
...