mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 07:32:39 -07:00
21 lines
267 B
C++
21 lines
267 B
C++
#include "Surface.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
double
|
|
Surface::area() const
|
|
{
|
|
return this->expolygon.area();
|
|
}
|
|
|
|
#ifdef SLIC3RXS
|
|
SV*
|
|
Surface::to_SV_ref() {
|
|
SV* sv = newSV(0);
|
|
sv_setref_pv( sv, "Slic3r::Surface::Ref", (void*)this );
|
|
return sv;
|
|
}
|
|
#endif
|
|
|
|
}
|