MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / vectorsMakeClockwiseTurn

Method vectorsMakeClockwiseTurn

grid_map_core/src/Polygon.cpp:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347double Polygon::vectorsMakeClockwiseTurn(const Eigen::Vector2d &pointOrigin,
348 const Eigen::Vector2d &pointA,
349 const Eigen::Vector2d &pointB)
350{
351 return computeCrossProduct2D(pointA - pointOrigin, pointB - pointOrigin) <= 0;
352}
353
354} /* namespace grid_map */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected