1
#ifndef slic3r_Surface_hpp_
2
#define slic3r_Surface_hpp_
4
#include "ExPolygon.hpp"
8
enum SurfaceType { stTop, stBottom, stBottomBridge, stInternal, stInternalSolid, stInternalBridge, stInternalVoid };
14
SurfaceType surface_type;
15
double thickness; // in mm
16
unsigned short thickness_layers; // in layers
17
double bridge_angle; // in radians, ccw, 0 = East, only 0+ (negative means undefined)
18
unsigned short extra_perimeters;
20
bool is_solid() const;
21
bool is_external() const;
22
bool is_bottom() const;
23
bool is_bridge() const;
26
void from_SV_check(SV* surface_sv);
30
typedef std::vector<Surface> Surfaces;
31
typedef std::vector<Surface*> SurfacesPtr;