English
Source / code snippets

Abl Anglebyline line Points Winkel between

 

Nico
Madysa
Nproc, accounts fix from two given Points whom Winkel the line as Long in tausendstel strain.
shows The line to supra (xx<x & y=yy), so is the Winkel very zero. The Winkel soar in the Uhrzeigersinn except for 359999.
nProc AngleByLine(long x,y,xx,yy)

    sub y,yy
    sub x,xx

    if x

        xx=int(57295.77951 * arctan(float(y)/float(x)))
        case x>0 : return 270000 + xx
        return 90000 + xx

    endif

    case y<0 : return 180000
    return 0

endproc


with reinem XProfan:
Proc AngleByLine

    parameters x&,y&,xx&,yy&
    dec y&,yy&
    dec x&,xx&

    if x&

        xx& = int(57295.77951 * arctan(y& / x&))
        case x&>0 : return 270000 + xx&
        return 90000+ xx&

    endif

    case y&<0 : return 180000
    return 0

endproc

 
XProfan X2
Nico Madysa
10/07/11  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.440 Views

Untitledvor 0 min.
RudiB.04/14/22
p.specht01/19/22
E.T.11/20/21
Wilfried Friebe11/17/21
More...

Themeninformationen

this Topic has 1 subscriber:

Nico Madysa (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie