function polygonTranslate(polygon, angle, distance){
  var p = [];
  for (var i = 0, l = polygon.length; i < l; i++){
    p.push(pointTranslate(polygon[i], angle, distance));
  }
  return p;
}
// Translates a polygon by an angle in degrees and distance.
Translates a polygon by an angle in degrees and distance.
Translates a polygon by an angle in degrees and distance .
function polygonTranslate(polygon, angle, distance){
  var p = [];
  for (var i = 0, l = polygon.length; i < l; i++){
    p.push(pointTranslate(polygon[i], angle, distance));
  }
  return p;
}
function polygonTranslate ( polygon , angle , distance ) { var p = [ ] ; for ( var i = 0 , l = polygon . length ; i < l ; i ++ ) { p . push ( pointTranslate ( polygon [ i ] , angle , distance ) ) ; } return p ; }
Translates a polygon by an angle in degrees and distance.
Translates a polygon by an angle in degrees and distance .