MCPcopy Create free account
hub / github.com/comaps/comaps / InterpolatePoint

Function InterpolatePoint

libs/drape_frontend/animation/interpolations.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13m2::PointD InterpolatePoint(m2::PointD const & startPt, m2::PointD const & endPt, double t)
14{
15 m2::PointD diff = endPt - startPt;
16 return startPt + diff * t;
17}
18
19double InterpolateAngle(double startAngle, double endAngle, double t)
20{

Callers 2

AddSegmentsMethod · 0.85
AdvanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected