Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JeremyBYU/polylidar
/ get_np_buffer_ptr
Function
get_np_buffer_ptr
examples/python/basic2d_algorithm.py:12–14 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
10
np.random.seed(1)
11
12
def
get_np_buffer_ptr(a):
13
pointer, read_only_flag = a.__array_interface__[
'data'
]
14
return
pointer
15
16
def
main():
17
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected