GEOFISHES

Top  Previous  Next

Corners of a vector calculate.

Two points are given. The corner is searched between the vector stretched by these points and the X axis. The corner is given in wheel, 2π if is a full circle.

Parametre

p1x (stands in) [IN]

p1y (stands in) [IN]

The starting point of the vector.

p2x (stands in) [IN]

p2y (stands in) [IN]

The goal of the vector.

Result

(stands in) [OUT]

The corner in wheel which exists between the x axis and the vector (px2-px1, py2-py1). The corner is on the area from 0 to 2π standardises.

Declaration

#include "basic.h"

 

STAND-IN DLLENTRY GEOFISHES (

stand in p1x,

stand in p1y,

stand in p2x,

stand in p2y

);