We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello everyone!!
I'm trying to plot a map of Italy from a list of geographic coordinates (latitude, longitude), and I need to convert these into Cartesian Coordinate (x, y). The italian official cartography uses Gauss-Boaga projection to transform these points, which uses an Inverse Hyperbolic Sine (arcsinh, or asinh) as part of the calculation.
I know that exist an asin() function, but I cannot figure out how to write a function for the Inverse Hyperbolic Sine... Does anyone can help me?
Many Thanks! MM
Answers
Processing only packs the basic functions from class Math.
Mostly to truncate the returned values from
double
tofloat
! :-\"Link to sinh() method:
http://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#sinh-double-
http://mathworld.wolfram.com/InverseHyperbolicSine.html
Thank you guys, sorry for the late response. What I did is actually implement the log function in order to circumnavigate the problem, but I still got some error in the visualization phase, probably due to some error in the "transfer to code" process. I will clean the code and post it if possible, hoping you could help me!