<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def kdtree(self):
 """ A KDTree object holding the vertices of the path. Returns kdtree: scipy.spatial.cKDTree object holding self.vertices """


        kdtree = KDTree(self.vertices.view(np.ndarray))
        return kdtree