mirror_points_line_xy

compas.geometry.mirror_points_line_xy(points, line)[source]

Mirror a point about a line.

Parameters
  • points (sequence[[float, float, float] | Point]) – List of points to mirror.

  • line ([point, point] | Line) – Two points defining the mirror line.

Returns

list[[float, float, float]] – The mirrored points.