[geometry] avoid warnings for multi-line comments and unused var in new sources

[SVN r86581]
This commit is contained in:
Barend Gehrels 2013-11-07 21:18:57 +00:00
parent 1bb3745741
commit 359703e933
2 changed files with 12 additions and 13 deletions

View File

@ -57,9 +57,9 @@ inline void move_along_vector(PointType& point, PointType const& extreme, Coordi
// Moves a point along the vector (point, extreme) in the direction of the extreme point // Moves a point along the vector (point, extreme) in the direction of the extreme point
// This adapts the possibly uneven legs of the triangle (or trapezium-like shape) // This adapts the possibly uneven legs of the triangle (or trapezium-like shape)
// _____extreme _____ // _____extreme _____
// / \ / \ // / \ / \ .
// /base \ => / \ point // /base \ => / \ point .
// \ point // \ point .
// //
// For so-called intruders, it can be used to adapt both legs to the level of "base" // For so-called intruders, it can be used to adapt both legs to the level of "base"
// For the base, it can be used to adapt both legs to the level of the max-value of the intruders // For the base, it can be used to adapt both legs to the level of the max-value of the intruders
@ -244,7 +244,6 @@ struct extreme_points_on_ring
// we start at this intrusion until it is handled, and don't affect our initial left iterator // we start at this intrusion until it is handled, and don't affect our initial left iterator
CirclingIterator left_intrusion_it = right; CirclingIterator left_intrusion_it = right;
point_type local_top = *right;
typename boost::range_value<Intruders>::type intruder; typename boost::range_value<Intruders>::type intruder;
collect(ring, *right, intruder, left_intrusion_it, right); collect(ring, *right, intruder, left_intrusion_it, right);

View File

@ -206,11 +206,11 @@ inline void replace_extremes_for_self_tangencies(Extremes& extremes, Intruders&
// Self-tangencies use, as usual, the major part of code... // Self-tangencies use, as usual, the major part of code...
// ___ e // ___ e
// /|\ \ // /|\ \ .
// / | \ \ // / | \ \ .
// / | \ \ // / | \ \ .
// / | \ \ // / | \ \ .
// / /\ | \ \ // / /\ | \ \ .
// i2 i1 // i2 i1
// The picture above shows the extreme (outside, "e") and two intruders ("i1","i2") // The picture above shows the extreme (outside, "e") and two intruders ("i1","i2")
@ -221,10 +221,10 @@ inline void replace_extremes_for_self_tangencies(Extremes& extremes, Intruders&
// It then looks like: // It then looks like:
// b ___ e // b ___ e
// /|\ \ // /|\ \ .
// / | \ \ // / | \ \ .
// / | \ \ // / | \ \ .
// / | \ \ // / | \ \ .
// a c i1 // a c i1
// Then intruders (here "i1" but there may be more) are sorted from left to right // Then intruders (here "i1" but there may be more) are sorted from left to right