<< NL_V_PixelNeighborCont NL_V: Vision NL_V_PotentialField >>

NARVAL >> NL_V: Vision > NL_V_Polar

NL_V_Polar

Perform the angle between two points and the x-axis.

Calling Sequence

[A] = NL_V_Polar(X1,Y1,X2,Y2)

Arguments

X1 :

X-coordinate of the first point.

Y1 :

Y-coordinate of the first point.

X2 :

X-coordinate of the second point.

Y2 :

Y-coordinate of the second point.

A :

Angle.

Description

NL_V_Polar performs the angle A between the two points N1 (X1,Y1), N2 (X2,Y2) and the x-axis.

Examples

X1=0;
Y1=0;
X2=200;
Y2=100;
[A]=NL_V_Polar(X1,Y1,X2,Y2);//application of NL_V_Polar

Report an issue
<< NL_V_PixelNeighborCont NL_V: Vision NL_V_PotentialField >>