mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Ported some minor methods to XS
This commit is contained in:
parent
379cde30e2
commit
28466750e6
9 changed files with 58 additions and 42 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "Line.hpp"
|
||||
#include "MultiPoint.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -23,6 +24,8 @@ class Polyline : public MultiPoint {
|
|||
void equally_spaced_points(double distance, Points* points) const;
|
||||
void simplify(double tolerance);
|
||||
void split_at(const Point &point, Polyline* p1, Polyline* p2) const;
|
||||
bool is_straight() const;
|
||||
std::string wkt() const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void from_SV_check(SV* poly_sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue