MCPcopy Index your code
hub / github.com/fogleman/ln / Transform

Method Transform

ln/path.go:21–27  ·  view source on GitHub ↗
(matrix Matrix)

Source from the content-addressed store, hash-verified

19}
20
21func (p Path) Transform(matrix Matrix) Path {
22 var result Path
23 for _, v := range p {
24 result = append(result, matrix.MulPosition(v))
25 }
26 return result
27}
28
29func (p Path) Chop(step float64) Path {
30 var result Path

Callers 5

Paths2Method · 0.95
TransformMethod · 0.45
RenderWithMatrixMethod · 0.45
PathsMethod · 0.45
mainFunction · 0.45

Calls 1

MulPositionMethod · 0.80

Tested by

no test coverage detected