1022 {
1023 assert(expansion_scaled >= 0.f);
1026 float exp = 0.5f * (float)
scale_(ep.width) + expansion_scaled;
1027 if (ep.is_closed()) {
1028 if (ep.size() >= 3) {
1029
1030
1032 poly.
points = ep.polyline.points;
1034 if (poly.
area() < 0)
1040 }
1041 } else if (ep.size() >= 2) {
1042
1044 }
1045 }
1046 }
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
Definition ArrayCwiseUnaryOps.h:88
#define SUPPORT_SURFACES_OFFSET_PARAMETERS
Definition SupportMaterial.cpp:66
Definition ExtrusionEntity.hpp:61
void reverse()
Definition MultiPoint.hpp:34
Points points
Definition MultiPoint.hpp:18
Definition Polygon.hpp:24
static double area(const Points &pts)
Definition Polygon.cpp:49
if(!(yy_init))
Definition lexer.c:1190
#define scale_(val)
Definition libslic3r.h:69
std::vector< Polygon, PointsAllocator< Polygon > > Polygons
Definition Polygon.hpp:15
void polygons_reverse(Polygons &polys)
Definition Polygon.hpp:163
void polygons_append(Polygons &dst, const ExPolygon &src)
Definition ExPolygon.hpp:375
bool empty(const BoundingBoxBase< PointType, PointsType > &bb)
Definition BoundingBox.hpp:229
Definition ExtrusionRole.hpp:43