Function: translateToPositiveQuadrant()
translateToPositiveQuadrant(
positions
,offset
):void
Moves each point in positions
by the same vector to ensure every point
has positive x
and y
coordinates, then additionally moves each point by offset
.
Parameters
Parameter | Type |
---|---|
|
|
|
Returns
void