![]() |
libslic3r
Library for generating gcode from 3d models
|
#include <Polyline.hpp>
Public Member Functions | |
ThickPolyline () | |
ThickLines | thicklines () const |
void | reverse () |
![]() | |
operator Polylines () const | |
operator Line () const | |
Point | last_point () const |
Point | leftmost_point () const |
virtual Lines | lines () const |
void | clip_end (double distance) |
void | clip_start (double distance) |
void | extend_end (double distance) |
void | extend_start (double distance) |
Points | equally_spaced_points (double distance) const |
void | simplify (double tolerance) |
template<class T > | |
void | simplify_by_visibility (const T &area) |
void | split_at (const Point &point, Polyline *p1, Polyline *p2) const |
bool | is_straight () const |
std::string | wkt () const |
Polygons | grow (double delta, double scale=CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType=ClipperLib::jtSquare, double miterLimit=3.0) const |
![]() | |
operator Points () const | |
void | scale (double factor) |
void | translate (double x, double y) |
void | translate (const Point &vector) |
void | rotate (double angle) |
void | rotate (double angle, const Point ¢er) |
void | reverse () |
Point | first_point () const |
double | length () const |
bool | is_valid () const |
int | find_point (const Point &point) const |
bool | has_boundary_point (const Point &point) const |
BoundingBox | bounding_box () const |
bool | has_duplicate_points () const |
bool | remove_duplicate_points () |
void | append (const Point &point) |
void | append (const Points &points) |
void | append (const Points::const_iterator &begin, const Points::const_iterator &end) |
bool | intersection (const Line &line, Point *intersection) const |
std::string | dump_perl () const |
Public Attributes | |
std::vector< coordf_t > | width |
std::pair< bool, bool > | endpoints |
![]() | |
Points | points |
Additional Inherited Members | |
![]() | |
static Points | _douglas_peucker (const Points &points, const double tolerance) |
![]() | |
MultiPoint () | |
MultiPoint (const Points &_points) | |
~MultiPoint ()=default | |
|
inline |
void Slic3r::ThickPolyline::reverse | ( | ) |
ThickLines Slic3r::ThickPolyline::thicklines | ( | ) | const |
std::pair<bool,bool> Slic3r::ThickPolyline::endpoints |
std::vector<coordf_t> Slic3r::ThickPolyline::width |