MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / DoMiter

Method DoMiter

TheForceEngine/TFE_Polygon/clipper.cpp:4188–4193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4186//------------------------------------------------------------------------------
4187
4188void ClipperOffset::DoMiter(int j, int k, double r)
4189{
4190 double q = m_delta / r;
4191 m_destPoly.push_back(IntPoint(Round(m_srcPoly[j].X + (m_normals[k].X + m_normals[j].X) * q),
4192 Round(m_srcPoly[j].Y + (m_normals[k].Y + m_normals[j].Y) * q)));
4193}
4194//------------------------------------------------------------------------------
4195
4196void ClipperOffset::DoRound(int j, int k)

Callers

nothing calls this directly

Calls 3

IntPointClass · 0.85
RoundFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected