Skip to main content

Function: placeFeature()

placeFeature(points, p): Point[][]

Defined in: packages/sporty/src/transform.ts:28

R add_feature: 1/2/4 copies — (x+ax, y+ay), (−(x+ax), y+ay), (−(x+ax), −(y+ay)), (x+ax, −(y+ay)) — then + shift, then rotate about (0,0).

Parameters​

points​

readonly Point[]

p​

Placement

Returns​

Point[][]