translate_points_xy

compas.geometry.translate_points_xy(points, vector)[source]

Translate points and in the XY plane.

Parameters
  • points (sequence[[float, float, float] | Point]) – A list of points.

  • vector ([float, float, float] | Vector) – A translation vector.

Returns

list[[float, float, float]] – The translated points in the XY plane (Z=0).

Examples

>>>