Class Index | File Index

Classes


Namespace rotate90


Defined in: naview.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Rotates a 2d-vector 90 degrees in the clockwise or anticlockwise directions
Namespace Detail
rotate90
Rotates a 2d-vector 90 degrees in the clockwise or anticlockwise directions
Parameters:
{Array} v1
array of coordinates 1
{String} direction
String that defines clockwise or anticlockwise 90 rotation of vector
{Array} centerp
array of coordinates to center rotated vector

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Sep 08 2021 09:00:35 GMT-0300 (BRT)