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

Method CalculatePointOnSurface

libs/geometry/algorithm.cpp:41–45  ·  view source on GitHub ↗

CalculatePointOnSurface -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

39
40// CalculatePointOnSurface -------------------------------------------------------------------------
41CalculatePointOnSurface::CalculatePointOnSurface(m2::RectD const & rect)
42 : m_rectCenter(rect.Center())
43 , m_center(m_rectCenter)
44 , m_squareDistanceToApproximate(std::numeric_limits<double>::max())
45{}
46
47void CalculatePointOnSurface::operator()(PointD const & p1, PointD const & p2, PointD const & p3)
48{

Callers

nothing calls this directly

Calls 1

CenterMethod · 0.45

Tested by

no test coverage detected