occt: add point deletion function

This commit is contained in:
2025-11-11 10:45:42 +01:00
parent af9f65ab1d
commit 7a903fecab
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -23,3 +23,7 @@ void coord_point(const TopoDS_Shape& shape, double* x, double* y, double* z) {
*y = point.Y();
*z = point.Z();
}
void clear_point(TopoDS_Shape& shape) {
shape.Nullify();
}