mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02:00
Ported point_line_distance() and removed same_point()
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
class Line;
|
||||
class Point;
|
||||
typedef std::vector<Point> Points;
|
||||
|
||||
@@ -23,6 +24,7 @@ class Point
|
||||
int nearest_point_index(const Points points) const;
|
||||
Point* nearest_point(Points points) const;
|
||||
double distance_to(const Point* point) const;
|
||||
double distance_to(const Line* line) const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void from_SV(SV* point_sv);
|
||||
|
||||
Reference in New Issue
Block a user