Generate the coordinates of the corners of a rectangle (obstacle).
[x,y] = NARVAL_IP_RectObstacle(x1,y1,h,w,a)
x-coordinate of the main corner.
y-coordinate of the main corner.
rectangle height.
rectangle width.
angle.
x-coordinate of all obstacle corners.
y-coordinate of all obstacle corners.
NARVAL_IP_RectObstacle generates the coordinates of the corners of a rectangle (obstacle). The rectangle is defined by its main corner coordinates [x1,y1], its height h, its width w and the angle between its largest side and the x-axis a. x (respectivelly y) gathers the x-coordinate (respectivelly y-coordinate) of all obstacle corners.
Dr. Foued Melakessou
Research Associate
Interdisciplinary Centre for Security, Reliability and Trust
Room F106
University of Luxembourg
6, rue Coudenhove Kalergi
L-1359 Luxembourg-Kirchberg
E-mail: foued.melakessou@uni.lu
Tel: (+352) 46 66 44 5346