mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-19 16:19:07 -07:00
New Slic3r::Point::XS class
This commit is contained in:
24
xs/src/ZTable.hpp
Normal file
24
xs/src/ZTable.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef slic3r_ZTable_hpp_
|
||||
#define slic3r_ZTable_hpp_
|
||||
|
||||
extern "C" {
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
#include "ppport.h"
|
||||
}
|
||||
|
||||
class ZTable
|
||||
{
|
||||
public:
|
||||
ZTable(std::vector<unsigned int>* z_array);
|
||||
std::vector<unsigned int> get_range(unsigned int min_z, unsigned int max_z);
|
||||
std::vector<unsigned int> z;
|
||||
};
|
||||
|
||||
ZTable::ZTable(std::vector<unsigned int>* ztable) :
|
||||
z(*ztable)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user