refactor: use BRep topological entity instead of gp_Pnt for Rust
encapsulation
This commit is contained in:
@@ -3,13 +3,6 @@
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
extern "C" {
|
||||
struct Point {
|
||||
double x;
|
||||
double y;
|
||||
double z;
|
||||
};
|
||||
|
||||
Point* make_point(double x, double y, double z);
|
||||
void free_point(Point* p);
|
||||
void coord_point(const Point* p, double* x, double* y, double* z);
|
||||
TopoDS_Shape make_point(double x, double y, double z);
|
||||
void coord_point(const TopoDS_Shape& shape, double* x, double* y, double* z);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user