dhart.pathfinding.Path

class dhart.pathfinding.Path(path_ptr: c_void_p, data_ptr: c_void_p, size: int)

A list of path members from C++

__init__(path_ptr: c_void_p, data_ptr: c_void_p, size: int)

Construct a path from a pointer to a path of nodes and its underlying path_members

Parameters:
  • path_ptr – a pointer to a C++ path object

  • data_ptr – a pointer to the underlying data of that path object

  • size – the size of the given path

Methods

GetPointers()

Return the underlying vector and data pointers.

delete_fp()

Delete a path in C++