Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AngusJohnson/Clipper2
/ GetAvgUnitVector
Function
GetAvgUnitVector
CPP/Clipper2Lib/src/clipper.offset.cpp:94–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
}
93
94
inline PointD GetAvgUnitVector(const PointD& vec1, const PointD& vec2)
95
{
96
return NormalizeVector(PointD(vec1.x + vec2.x, vec1.y + vec2.y));
97
}
98
99
inline bool IsClosedPath(EndType et)
100
{
Callers
2
DoSquare
Method · 0.85
DoSquare
Method · 0.85
Calls
2
NormalizeVector
Function · 0.85
PointD
Class · 0.85
Tested by
no test coverage detected