GEOnormedDirection

Top  Previous  Next

Delivers standardised direction vector.

With this routine a standardised direction vector is calculated by the starting point to the terminator point directed distance. If both points are same, is the vector immediately (0,0).

Parametre

input_sx (const stands in) [IN]

input_sy (const stands in) [IN]

Starting point of the distance.

input_ex (const stands in) [IN]

input_ey (const stands in) [IN]

Terminator point of the distance.

output_x (stands in *) [IN / OUT]

output_y (stands in *) [IN / OUT]

standardised direction vector.

Result

(BOOLEAN) [OUT]

TRUE if the standardised direction vector does not have the length 0, but FALSE.

Declaration

#include "basic.h"

 

BOOLEAN DLLENTRY GEOnormedDirection (

const stands in input_sx,

const stands in input_sy,

const stands in input_ex,

const stands in input_ey,

stand in * output_x,

stand in * output_y

);