Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetLastLength
Method
GetLastLength
libs/geometry/spline.cpp:109–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
double Spline::GetLastLength() const
110
{
111
ASSERT(!m_length.empty(), ());
112
return m_length.back();
113
}
114
115
std::pair<PointD, double> Spline::GetTangentAndLength(size_t i) const
116
{
Callers
1
ProcessSplineSegmentRects
Function · 0.80
Calls
3
ASSERT
Function · 0.85
back
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected