Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ length
Method
length
MyGUIEngine/src/msdfgen/core/edge-segments.cpp:153–155 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
151
}
152
153
double LinearSegment::length() const {
154
return (p[1]-p[0]).length();
155
}
156
157
double QuadraticSegment::length() const {
158
Vector2 ab = p[1]-p[0];
Callers
13
protectEdges
Method · 0.45
findErrors
Method · 0.45
reset
Method · 0.45
addEdge
Method · 0.45
isEdgeRelevant
Method · 0.45
signedDistance
Method · 0.45
deconvergeEdge
Function · 0.45
estimateEdgeLength
Function · 0.45
edgeToEdgeDistance
Function · 0.45
convergentCurveOrdering
Function · 0.45
arcAngle
Function · 0.45
buildShapeFromSvgPath
Function · 0.45
Calls
3
dotProduct
Function · 0.85
crossProduct
Function · 0.85
log
Function · 0.85
Tested by
no test coverage detected