MCPcopy Create free account
hub / github.com/Unsigned-Long/iKalibr / PointToLine

Method PointToLine

src/core/event_preprocessing.cpp:535–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533EventLine::Ptr EventLine::Create(const NormFlowPtr &nf) { return std::make_shared<EventLine>(nf); }
534
535double EventLine::PointToLine(const Eigen::Vector2d &p) const {
536 return (p.transpose() * param.head<2>() - param.tail<1>())(0);
537}
538
539double EventLine::DirectionDifferenceCos(const Eigen::Vector2d &nfDir) const {
540 return (param.head<2>().transpose() * nfDir)(0);

Callers 1

TrackingUsingNormFlowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected