mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 23:54:00 -06:00
Ported point_line_distance() and removed same_point()
This commit is contained in:
parent
09be25a156
commit
c133a33ed2
6 changed files with 29 additions and 26 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
namespace Slic3r {
|
||||
|
||||
class Line;
|
||||
|
||||
class Line
|
||||
{
|
||||
public:
|
||||
|
@ -21,6 +23,7 @@ class Line
|
|||
Point* midpoint() const;
|
||||
Point* point_at(double distance) const;
|
||||
bool coincides_with(const Line* line) const;
|
||||
double distance_to(const Point* point) const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void from_SV(SV* line_sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue