translate_points_xy

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

Translate points and in the XY plane.

Parameters:
pointssequence[[float, float, float] | compas.geometry.Point]

A list of points.

vector[float, float, float] | compas.geometry.Vector

A translation vector.

Returns:
list[[float, float, float]]

The translated points in the XY plane (Z=0).