may I use mat.sin or mat.cos of Java languaje in a Progress

Posted by Admin on 10-Oct-2006 17:59

I need to write a program to calculate distance and bearing between two latitude/longitude points but it uses a mathematic formuls like sin, cos, atan, acos and so . Any body can help me please?

Thanks

All Replies

Posted by Admin on 10-Aug-2010 08:54

Hi,

If you want to use a specific function you can always implement a truncated taylor series.

Posted by Admin on 10-Aug-2010 12:00

When you need those functions on the GUI client / webclient, look at the .NET System.Math:Sin() and System.Math.Cos() methods.

MESSAGE System.Math:Cos (45) SKIP

System.Math:Sin (45)

VIEW-AS ALERT-BOX INFO BUTTONS OK.

Unfortunately those .NET functions are not available on the TTY client or AppServer, but you could create a COM wrapper easily that would.

This thread is closed