11#ifndef POSITIONUTILS_HPP
12#define POSITIONUTILS_HPP
17#include "UtEntity.hpp"
18#include "UtLLAPos.hpp"
32 const UtLLPos& aDestination,
33 double aOriginsGreaterCircleDistance)
noexcept;
37 const UtLLPos& aDestination,
39 double aRightMeters)
noexcept;
std::vector< UtLLPos > FindPositionsLeftAndRightOfOriginToDestRef(const UtLLPos &aOrigin, const UtLLPos &aDestination, double aLeftMeters, double aRightMeters) noexcept
Used to calculate corner positions given a start point/end point and a width left/right.
Definition PositionUtils.cpp:75
double FindVectorTrueNorthHeading(const UtLLPos &aVectorOrigin, const UtLLPos &aVectorEnd) noexcept
Used to extract heading out of UtLLPos::HeadingAndDistance calculation, simple convenience wrapper.
Definition PositionUtils.cpp:53
std::vector< UtLLPos > FindSquareOfRefrencePositions(const UtLLPos &aOrigin, const UtLLPos &aDestination, double aGreaterCircleDistance) noexcept
Used to calculate corner positions given a start point/end point with just a single equal distance.
Definition PositionUtils.cpp:68
const UtLLPos FindPositionOnGreaterCircle(const UtLLPos &aPosition, double aRadialBearing, double aRadius) noexcept
Definition PositionUtils.cpp:33
Represents a Line segment so that intersection can be calculated.
Definition PositionUtils.hpp:53
Point mB
Definition PositionUtils.hpp:56
UtLLPos Intersect(const LineSegment &aOther) noexcept
Definition PositionUtils.cpp:90
Point mA
Definition PositionUtils.hpp:55
Represents a point.
Definition PositionUtils.hpp:46
double mX
Definition PositionUtils.hpp:47
double mY
Definition PositionUtils.hpp:48