Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tdewolff/canvas
/ SimplifyVisvalingamWhyatt
Method
SimplifyVisvalingamWhyatt
path_simplify.go:45–47 ·
view source on GitHub ↗
(tolerance float64)
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(p *Path) SimplifyVisvalingamWhyatt(tolerance float64) *Path {
46
return
NewVisvalingamWhyatt(nil).Simplify(p.Split(), tolerance)
47
}
48
49
type
itemVW
struct
{
50
Point
Callers
1
TestPathSimplifyVisvalingamWhyatt
Function · 0.80
Calls
3
Split
Method · 0.95
NewVisvalingamWhyatt
Function · 0.85
Simplify
Method · 0.80
Tested by
1
TestPathSimplifyVisvalingamWhyatt
Function · 0.64