mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Ported same_line() to XS
This commit is contained in:
parent
b5aaeb9b12
commit
d8e098ab0e
5 changed files with 21 additions and 9 deletions
|
@ -54,6 +54,12 @@ Line::point_at(double distance) const
|
|||
return p;
|
||||
}
|
||||
|
||||
bool
|
||||
Line::coincides_with(const Line* line) const
|
||||
{
|
||||
return this->a.coincides_with(&line->a) && this->b.coincides_with(&line->b);
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void
|
||||
Line::from_SV(SV* line_sv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue