Search found 49 matches: cos

Return to advanced search

Re: cyclometric circle

... the middle of circle , the number 90 must be on the top of circle, the number 45 on the Bottom, please the First picture i published swap sin and cos and change signs until it works      nAngolo := 2* Pgreco() / nTotalNumbers * ( nI - 1 )      nY := ...
by AntoninoP
Wed Jul 13, 2022 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3018

Re: LINK ERROR: 19.09

FWH was using the trigonometric functions PI(),COS(),SIN(), etc for a very long time in classes TGraph, XImage and Tselector. Probably you might have never used any of these classes in your programs. Had you used any of these classes, you would ...
by nageswaragunupudi
Sat Oct 19, 2019 8:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LINK ERROR: 19.09
Replies: 11
Views: 1700

LINK ERROR: 19.09

When building my application ( Microsoft Visual Studio most recent version, FWH most recent version ). I get the following errors: hbct.lib(trig.obj) : error LNK2005: _HB_FUN_ACOS already defined in g_server.obj hbct.lib(trig.obj) : error LNK2005: _HB_FUN_ASIN already defined in g_server.obj hbct.li...
by TimStone
Thu Oct 17, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LINK ERROR: 19.09
Replies: 11
Views: 1700

Re: Reconocer el sistema operativo en uso

LOCAL cOs:=GETENV("OS")

? cOs // Windows_NT
by jnavas
Mon May 06, 2019 11:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reconocer el sistema operativo en uso
Replies: 5
Views: 795

buscar minimo valor en un arreglo bidimensional

... que calcula distancias gracias a: function miDistancia( lat1, lng1, lat2, lng2 ) **//** Hecho por xmanuel » Dom Ene 21, 2018 7:13 pm return( acos( sin( dtor( lat1 ) ) * sin( dtor( lat2 ) ) + cos( dtor( lat1 ) ) * cos( dtor( lat2 ) ) * cos( dtor( lng1 ) - dtor( lng2 ) ) ) * 6371 ) RETURN A ...
by Busmatic_wpb
Sat Mar 31, 2018 4:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: buscar minimo valor en un arreglo bidimensional
Replies: 2
Views: 663

Re: Calculo de distancias por GPS con funciones del MYSQL

SELECT (acos (sin (radians (LATITUD_1)) * sin (radians (LATITUD_2)) +
cos (radians (LATITUD_1)) * cos (radians (LATITUD_2)) *
cos (radians ( LONGITUD_1) - radians (LONGITUDE_2))) * 6378) as
distancePoint1Point2;

Should Earth's radius be taken as 6371 instead of 6378 ?
by nageswaragunupudi
Mon Jan 22, 2018 12:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de distancias por GPS con funciones del MYSQL
Replies: 7
Views: 2114

Calculo de distancias por GPS con funciones del MYSQL

... // dos datos de prueba Latitud2:="10.203574" Longitud2:="-83.782274" try oP:GpSDistancia := oCon:oKon:Query("SELECT (acos(sin(radians('"+Latitud1+"')) * sin(radians('"+Latitud2+"')) + cos(radians('"+Latitud1+"')) * cos(radians('"+Latitud2+"')) ...
by Busmatic_wpb
Sat Jan 20, 2018 11:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de distancias por GPS con funciones del MYSQL
Replies: 7
Views: 2114

Re: functions sin and cos

... provides all the functions provided earlier by CA-Tools library in the good old Clipper days. These functions include Trigonometric functions: ACOS(), ASIN(), ATAN(), ATN2(), COS(), COSH(), COT(), DTOR(), GETPREC(), SETPREC(), PI(), RTOD(), SIN(), SINH(), TAN(), TANH()
by nageswaragunupudi
Tue Dec 05, 2017 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

How to get the same message from BCC?

EMG
by Enrico Maria Giordano
Tue Dec 05, 2017 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

Ok, good to know, thank you.

EMG
by Enrico Maria Giordano
Tue Dec 05, 2017 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

Enrico Maria Giordano wrote:Can I see a sample of the problem?

EMG


I am using Visual studio 2017 with harbour:
Image

Antonio Linares wrote:Antonino,

We are going to rename them as FWSIN and FWCOS

thanks for pointing it


Ok, in the meantime I will change my version of FiveWin
by AntoninoP
Tue Dec 05, 2017 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

Enrico,

Functions Sin() and Cos() are already defined in Harbour hbct.lib
by Antonio Linares
Tue Dec 05, 2017 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

Antonino,

We are going to rename them as FWSIN and FWCOS

thanks for pointing it
by Antonio Linares
Tue Dec 05, 2017 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

Re: functions sin and cos

Can I see a sample of the problem?

EMG
by Enrico Maria Giordano
Tue Dec 05, 2017 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869

functions sin and cos

Hello, I am trying to compile a my program that uses the trigonometric functions sin and cos, the problem is the linker says that both are already defined in FiveH32.lib... I see the file selector.prg has an implementation of them :shock: ... From my knowledge they ...
by AntoninoP
Tue Dec 05, 2017 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: functions sin and cos
Replies: 7
Views: 869
Next

Return to advanced search