mirror of
https://github.com/boostorg/polygon.git
synced 2026-02-13 12:42:12 +00:00
Polygon: fixing errors and warnings from trunk build summary.
[SVN r80361]
This commit is contained in:
@@ -64,7 +64,7 @@ private:
|
||||
// Represents topology type of the voronoi site.
|
||||
enum GeometryCategory {
|
||||
GEOMETRY_CATEGORY_POINT = 0x0,
|
||||
GEOMETRY_CATEGORY_SEGMENT = 0x1,
|
||||
GEOMETRY_CATEGORY_SEGMENT = 0x1
|
||||
};
|
||||
|
||||
// Represents category of the input source that forms Voronoi cell.
|
||||
@@ -79,7 +79,7 @@ enum SourceCategory {
|
||||
SOURCE_CATEGORY_REVERSE_SEGMENT = 0x9,
|
||||
|
||||
SOURCE_CATEGORY_GEOMETRY_SHIFT = 0x3,
|
||||
SOURCE_CATEGORY_BITMASK = 0x1F,
|
||||
SOURCE_CATEGORY_BITMASK = 0x1F
|
||||
};
|
||||
|
||||
bool belongs(
|
||||
@@ -247,8 +247,7 @@ public:
|
||||
|
||||
private:
|
||||
enum Bits {
|
||||
SOURCE_CATEGORY_BITMASK = SOURCE_CATEGORY_BITMASK,
|
||||
IS_INVERSE = 0x20, // 32
|
||||
IS_INVERSE = 0x20 // 32
|
||||
};
|
||||
|
||||
point_type point0_;
|
||||
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
// 5 color bits are reserved.
|
||||
enum Bits {
|
||||
BITS_SHIFT = 0x5,
|
||||
BITS_MASK = 0x1F,
|
||||
BITS_MASK = 0x1F
|
||||
};
|
||||
|
||||
source_index_type source_index_;
|
||||
@@ -129,7 +129,7 @@ private:
|
||||
// 5 color bits are reserved.
|
||||
enum Bits {
|
||||
BITS_SHIFT = 0x5,
|
||||
BITS_MASK = 0x1F,
|
||||
BITS_MASK = 0x1F
|
||||
};
|
||||
|
||||
coordinate_type x_;
|
||||
@@ -256,7 +256,7 @@ private:
|
||||
BIT_IS_PRIMARY = 0x2, // primary is opposite to secondary
|
||||
|
||||
BITS_SHIFT = 0x5,
|
||||
BITS_MASK = 0x1F,
|
||||
BITS_MASK = 0x1F
|
||||
};
|
||||
|
||||
voronoi_cell_type* cell_;
|
||||
|
||||
Reference in New Issue
Block a user