mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
get_turns(L,L) - TODO comment added
This commit is contained in:
@@ -415,6 +415,9 @@ struct get_turn_info_for_endpoint
|
||||
equal<TurnInfo>::apply(i2_conv, i1, j1, i2, j2, k2,
|
||||
tp, result.template get<0>(), result.template get<1>(), side_calc);
|
||||
|
||||
// TODO: must the above be calculated?
|
||||
// wouldn't it be enough to check if segments are collinear?
|
||||
|
||||
if ( tp.both(operation_continue) )
|
||||
{
|
||||
bool opposite = result.template get<1>().opposite;
|
||||
@@ -459,6 +462,9 @@ struct get_turn_info_for_endpoint
|
||||
equal<TurnInfo>::apply(j2_conv, j1, i1, i2, j2, k2,
|
||||
tp, result.template get<0>(), result.template get<1>(), side_calc);
|
||||
|
||||
// TODO: must the above be calculated?
|
||||
// wouldn't it be enough to check if segments are collinear?
|
||||
|
||||
if ( tp.both(operation_continue) )
|
||||
{
|
||||
bool opposite = result.template get<1>().opposite;
|
||||
|
||||
Reference in New Issue
Block a user