From b622b0e7915f269f44d6899f785cc8229eeaeb81 Mon Sep 17 00:00:00 2001 From: Aymeric Dujardin Date: Fri, 23 Nov 2018 18:52:18 +0100 Subject: [PATCH] fix Plane --- pyzed/mesh.pxd | 1 - pyzed/mesh.pyx | 3 --- 2 files changed, 4 deletions(-) diff --git a/pyzed/mesh.pxd b/pyzed/mesh.pxd index 2e15048..61d6991 100644 --- a/pyzed/mesh.pxd +++ b/pyzed/mesh.pxd @@ -106,7 +106,6 @@ cdef extern from "sl/Mesh.hpp" namespace "sl": cdef cppclass Plane 'sl::Plane': Plane() PLANE_TYPE type - void clear() types.Vector3[float] getNormal() types.Vector3[float] getCenter() core.Transform getPose() diff --git a/pyzed/mesh.pyx b/pyzed/mesh.pyx index d859889..d4ad7f5 100644 --- a/pyzed/mesh.pyx +++ b/pyzed/mesh.pyx @@ -266,9 +266,6 @@ cdef class PyPlane: def type(self): return self.plane.type - def clear(self): - return self.plane.clear() - def get_normal(self): normal = self.plane.getNormal() cdef np.ndarray arr = np.zeros(3)