OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Voronoi.cpp File Reference
#include "Voronoi.hpp"
#include <boost/log/trivial.hpp>
#include <cassert>
#include <vector>
#include <iterator>
#include <cstddef>
#include "libslic3r/Point.hpp"
#include "libslic3r/libslic3r.h"
#include "libslic3r/Arachne/utils/PolygonsSegmentIndex.hpp"
#include "libslic3r/Geometry/VoronoiUtils.hpp"
#include "libslic3r/Geometry/VoronoiUtilsCgal.hpp"
#include "libslic3r/MultiMaterialSegmentation.hpp"
#include "libslic3r/Line.hpp"
Include dependency graph for Voronoi.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::Geometry

Typedefs

using Slic3r::Geometry::VD = VoronoiDiagram
using Slic3r::Geometry::PolygonsSegmentIndexConstIt = std::vector<Arachne::PolygonsSegmentIndex>::const_iterator
using Slic3r::Geometry::LinesIt = Lines::iterator
using Slic3r::Geometry::ColoredLinesConstIt = ColoredLines::const_iterator

Functions

VD::vertex_type::color_type Slic3r::Geometry::encode_input_segment_endpoint (const VD::cell_type::source_index_type cell_source_index, const boost::polygon::direction_1d dir)
template<typename SegmentIterator>
boost::polygon::enable_if< typenameboost::polygon::gtl_if< typenameboost::polygon::is_segment_concept< typenameboost::polygon::geometry_concept< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type >::type, typenameboost::polygon::segment_point_type< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type Slic3r::Geometry::decode_input_segment_endpoint (const VD::vertex_type::color_type color, const SegmentIterator segment_begin, const SegmentIterator segment_end)