Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
boost_alg.hpp File Reference
#include <sstream>
#include <boost/geometry.hpp>
+ Include dependency graph for boost_alg.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  boost::geometry::traits::tag< bp2d::PointImpl >
 
struct  boost::geometry::traits::coordinate_type< bp2d::PointImpl >
 
struct  boost::geometry::traits::coordinate_system< bp2d::PointImpl >
 
struct  boost::geometry::traits::dimension< bp2d::PointImpl >
 
struct  boost::geometry::traits::access< bp2d::PointImpl, 0 >
 
struct  boost::geometry::traits::access< bp2d::PointImpl, 1 >
 
struct  boost::geometry::traits::tag< bp2d::Box >
 
struct  boost::geometry::traits::point_type< bp2d::Box >
 
struct  boost::geometry::traits::indexed_access< bp2d::Box, min_corner, 0 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Box, min_corner, 1 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Box, max_corner, 0 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Box, max_corner, 1 >
 
struct  boost::geometry::traits::tag< bp2d::Segment >
 
struct  boost::geometry::traits::point_type< bp2d::Segment >
 
struct  boost::geometry::traits::indexed_access< bp2d::Segment, 0, 0 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Segment, 0, 1 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Segment, 1, 0 >
 
struct  boost::geometry::traits::indexed_access< bp2d::Segment, 1, 1 >
 
struct  boost::geometry::traits::ToBoostOrienation< Orientation >
 
struct  boost::geometry::traits::ToBoostOrienation< bp2d::Orientation::CLOCKWISE >
 
struct  boost::geometry::traits::ToBoostOrienation< bp2d::Orientation::COUNTER_CLOCKWISE >
 
struct  boost::geometry::traits::ToBoostClosure< Closure >
 
struct  boost::geometry::traits::ToBoostClosure< bp2d::Closure::OPEN >
 
struct  boost::geometry::traits::ToBoostClosure< bp2d::Closure::CLOSED >
 
struct  boost::geometry::traits::tag< bp2d::PathImpl >
 
struct  boost::geometry::traits::point_order< bp2d::PathImpl >
 
struct  boost::geometry::traits::closure< bp2d::PathImpl >
 
struct  boost::geometry::traits::tag< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::exterior_ring< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::ring_const_type< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::ring_mutable_type< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::interior_const_type< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::interior_mutable_type< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::interior_rings< bp2d::PolygonImpl >
 
struct  boost::geometry::traits::tag< bp2d::Shapes >
 
struct  boost::range_value< bp2d::PathImpl >
 
struct  boost::range_value< bp2d::Shapes >
 

Namespaces

namespace  bp2d
 
namespace  boost
 
namespace  boost::geometry
 
namespace  boost::geometry::traits
 
namespace  libnest2d
 
namespace  libnest2d::shapelike
 
namespace  libnest2d::nfp
 A collection of static methods for handling the no fit polygon creation.
 

Typedefs

using bp2d::Coord = TCoord< PointImpl >
 
using bp2d::Box = libnest2d::_Box< PointImpl >
 
using bp2d::Segment = libnest2d::_Segment< PointImpl >
 
using bp2d::Shapes = libnest2d::nfp::Shapes< PolygonImpl >
 

Functions

template<>
bool libnest2d::shapelike::intersects (const PathImpl &sh1, const PathImpl &sh2)
 
template<>
bool libnest2d::shapelike::intersects (const PolygonImpl &sh1, const PolygonImpl &sh2)
 
template<>
bool libnest2d::shapelike::intersects (const bp2d::Segment &s1, const bp2d::Segment &s2)
 
template<>
double libnest2d::shapelike::area (const PolygonImpl &shape, const PolygonTag &)
 
template<>
bool libnest2d::shapelike::isInside (const PointImpl &point, const PolygonImpl &shape, const PointTag &, const PolygonTag &)
 
template<>
bool libnest2d::shapelike::isInside (const PolygonImpl &sh1, const PolygonImpl &sh2, const PolygonTag &, const PolygonTag &)
 
template<>
bool libnest2d::shapelike::touches (const PolygonImpl &sh1, const PolygonImpl &sh2)
 
template<>
bool libnest2d::shapelike::touches (const PointImpl &point, const PolygonImpl &shape)
 
template<>
bp2d::Box libnest2d::shapelike::boundingBox (const PathImpl &sh, const PathTag &)
 
template<>
bp2d::Box libnest2d::shapelike::boundingBox< bp2d::Shapes > (const bp2d::Shapes &shapes, const MultiPolygonTag &)
 
template<>
PathImpl libnest2d::shapelike::convexHull (const PathImpl &sh, const PathTag &)
 
template<>
PolygonImpl libnest2d::shapelike::convexHull (const TMultiShape< PolygonImpl > &shapes, const MultiPolygonTag &)
 
template<>
void libnest2d::shapelike::offset (PolygonImpl &sh, bp2d::Coord distance)
 
template<>
std::string libnest2d::shapelike::serialize< libnest2d::Formats::SVG > (const PolygonImpl &sh, double scale)
 
template<>
void libnest2d::shapelike::unserialize< libnest2d::Formats::SVG > (PolygonImpl &sh, const std::string &str)
 
template<>
std::pair< bool, std::string > libnest2d::shapelike::isValid (const PolygonImpl &sh)
 

Class Documentation

◆ boost::geometry::traits::tag< bp2d::PointImpl >

struct boost::geometry::traits::tag< bp2d::PointImpl >
Class Members
typedef point_tag type

◆ boost::geometry::traits::coordinate_type< bp2d::PointImpl >

struct boost::geometry::traits::coordinate_type< bp2d::PointImpl >
Class Members
typedef Coord type

◆ boost::geometry::traits::coordinate_system< bp2d::PointImpl >

struct boost::geometry::traits::coordinate_system< bp2d::PointImpl >
Class Members
typedef cartesian type

◆ boost::geometry::traits::tag< bp2d::Box >

struct boost::geometry::traits::tag< bp2d::Box >
Class Members
typedef box_tag type

◆ boost::geometry::traits::point_type< bp2d::Box >

struct boost::geometry::traits::point_type< bp2d::Box >
Class Members
typedef PointImpl type

◆ boost::geometry::traits::tag< bp2d::Segment >

struct boost::geometry::traits::tag< bp2d::Segment >
Class Members
typedef segment_tag type

◆ boost::geometry::traits::point_type< bp2d::Segment >

struct boost::geometry::traits::point_type< bp2d::Segment >
Class Members
typedef PointImpl type

◆ boost::geometry::traits::ToBoostOrienation

struct boost::geometry::traits::ToBoostOrienation
template<bp2d::Orientation>
struct boost::geometry::traits::ToBoostOrienation< Orientation >

◆ boost::geometry::traits::ToBoostClosure

struct boost::geometry::traits::ToBoostClosure
template<bp2d::Closure>
struct boost::geometry::traits::ToBoostClosure< Closure >

◆ boost::geometry::traits::tag< bp2d::PathImpl >

struct boost::geometry::traits::tag< bp2d::PathImpl >
Class Members
typedef ring_tag type

◆ boost::geometry::traits::tag< bp2d::PolygonImpl >

struct boost::geometry::traits::tag< bp2d::PolygonImpl >
Class Members
typedef polygon_tag type

◆ boost::geometry::traits::ring_const_type< bp2d::PolygonImpl >

struct boost::geometry::traits::ring_const_type< bp2d::PolygonImpl >
Class Members
typedef const PathImpl & type

◆ boost::geometry::traits::ring_mutable_type< bp2d::PolygonImpl >

struct boost::geometry::traits::ring_mutable_type< bp2d::PolygonImpl >
Class Members
typedef PathImpl & type

◆ boost::geometry::traits::interior_const_type< bp2d::PolygonImpl >

struct boost::geometry::traits::interior_const_type< bp2d::PolygonImpl >
Class Members
typedef const THolesContainer< PolygonImpl > & type

◆ boost::geometry::traits::interior_mutable_type< bp2d::PolygonImpl >

struct boost::geometry::traits::interior_mutable_type< bp2d::PolygonImpl >
Class Members
typedef THolesContainer< PolygonImpl > & type

◆ boost::geometry::traits::tag< bp2d::Shapes >

struct boost::geometry::traits::tag< bp2d::Shapes >
Class Members
typedef multi_polygon_tag type

◆ boost::range_value< bp2d::PathImpl >

struct boost::range_value< bp2d::PathImpl >
Class Members
typedef PointImpl type

◆ boost::range_value< bp2d::Shapes >

struct boost::range_value< bp2d::Shapes >
Class Members
typedef PolygonImpl type