|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76927 - sandbox/gtl/boost/polygon
From: sydorchuk.andriy_at_[hidden]
Date: 2012-02-06 18:16:14
Author: asydorchuk
Date: 2012-02-06 18:16:12 EST (Mon, 06 Feb 2012)
New Revision: 76927
URL: http://svn.boost.org/trac/boost/changeset/76927
Log:
Minor line width refactoring for public classes.
Text files modified:
sandbox/gtl/boost/polygon/voronoi_diagram.hpp | 9 ++++++---
sandbox/gtl/boost/polygon/voronoi_utils.hpp | 7 ++++---
2 files changed, 10 insertions(+), 6 deletions(-)
Modified: sandbox/gtl/boost/polygon/voronoi_diagram.hpp
==============================================================================
--- sandbox/gtl/boost/polygon/voronoi_diagram.hpp (original)
+++ sandbox/gtl/boost/polygon/voronoi_diagram.hpp 2012-02-06 18:16:12 EST (Mon, 06 Feb 2012)
@@ -381,7 +381,8 @@
typedef typename TRAITS::coordinate_type coordinate_type;
typedef typename TRAITS::ctype_converter_type ctype_converter_type;
typedef typename TRAITS::point_type point_type;
- typedef typename TRAITS::bounding_rectangle_type bounding_rectangle_type;
+ typedef typename TRAITS::bounding_rectangle_type
+ bounding_rectangle_type;
typedef typename TRAITS::voronoi_cell_type voronoi_cell_type;
typedef typename TRAITS::voronoi_vertex_type voronoi_vertex_type;
typedef typename TRAITS::voronoi_edge_type voronoi_edge_type;
@@ -530,8 +531,10 @@
const CEvent &circle,
void *data12,
void *data23) {
- voronoi_edge_type *edge12 = static_cast<voronoi_edge_type*>(data12);
- voronoi_edge_type *edge23 = static_cast<voronoi_edge_type*>(data23);
+ voronoi_edge_type *edge12 =
+ static_cast<voronoi_edge_type*>(data12);
+ voronoi_edge_type *edge23 =
+ static_cast<voronoi_edge_type*>(data23);
// Add a new voronoi vertex.
coordinate_type x = convert_(circle.x());
Modified: sandbox/gtl/boost/polygon/voronoi_utils.hpp
==============================================================================
--- sandbox/gtl/boost/polygon/voronoi_utils.hpp (original)
+++ sandbox/gtl/boost/polygon/voronoi_utils.hpp 2012-02-06 18:16:12 EST (Mon, 06 Feb 2012)
@@ -90,10 +90,12 @@
const bounding_rectangle<CT> &brect,
fpt_type max_error) {
// Retrieve the cell to the left of the current edge.
- const typename voronoi_edge<CT>::voronoi_cell_type *cell1 = edge->cell();
+ const typename voronoi_edge<CT>::voronoi_cell_type *cell1 =
+ edge->cell();
// Retrieve the cell to the right of the current edge.
- const typename voronoi_edge<CT>::voronoi_cell_type *cell2 = edge->twin()->cell();
+ const typename voronoi_edge<CT>::voronoi_cell_type *cell2 =
+ edge->twin()->cell();
// edge_points - contains intermediate points.
point_set_type edge_points;
@@ -442,7 +444,6 @@
static ctype_converter_type converter;
return converter(value);
}
-
};
} // polygon
} // boost
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk