MCPcopy 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
153double LinearSegment::length() const {
154 return (p[1]-p[0]).length();
155}
156
157double QuadraticSegment::length() const {
158 Vector2 ab = p[1]-p[0];

Callers 13

protectEdgesMethod · 0.45
findErrorsMethod · 0.45
resetMethod · 0.45
addEdgeMethod · 0.45
isEdgeRelevantMethod · 0.45
signedDistanceMethod · 0.45
deconvergeEdgeFunction · 0.45
estimateEdgeLengthFunction · 0.45
edgeToEdgeDistanceFunction · 0.45
convergentCurveOrderingFunction · 0.45
arcAngleFunction · 0.45
buildShapeFromSvgPathFunction · 0.45

Calls 3

dotProductFunction · 0.85
crossProductFunction · 0.85
logFunction · 0.85

Tested by

no test coverage detected