For geometric calculations I use a lot of lines in mathematical sense defined by point and angle. So I created this additional constructor:
/** Creates a line from its start point, length and angle. */
Line (const Point<ValueType> startPoint,
const ValueType length,
const ValueType angle) noexcept
: start (startPoint),
end (startPoint.getPointOnCircumference (length, angle))
{
}
Maybe others find this usefull as well, so I would appreciate it being added to the API…
Cheers