DHART
Loading...
Searching...
No Matches
DHARTAPI.SpatialStructures.NodeList Class Reference

An array of Nodes directly from a graph in unmanaged memory. More...

+ Inheritance diagram for DHARTAPI.SpatialStructures.NodeList:

Public Member Functions

Vector3D[] ToVector3D ()
 Convert all nodes in this array to Vector3D. More...
 
- Public Member Functions inherited from DHARTAPI.NativeUtils.NativeArray< Node >
unsafe override string ToString ()
 Get a string representation of this array. More...
 
virtual T[] CopyArray ()
 Copy the unmanaged array pointed to by this object into a managed array. More...
 
bool Equals (NativeArray< T > arr2)
 Check equality of this array and another. More...
 

Protected Member Functions

override bool ReleaseHandle ()
 Free the native memory managed by this class. More...
 

Additional Inherited Members

- Properties inherited from DHARTAPI.NativeUtils.NativeArray< Node >
virtual unsafe Span< T > array [get]
 Read only access to this unmanaged array as a span. More...
 
unsafe T this[int key] [get]
 Get the element at location i. More...
 
virtual int size [get]
 The number of elements in the array.
 

Detailed Description

An array of Nodes directly from a graph in unmanaged memory.

Member Function Documentation

◆ ReleaseHandle()

override bool DHARTAPI.SpatialStructures.NodeList.ReleaseHandle ( )
protected

Free the native memory managed by this class.

Note
the garbage collector will handle this automatically
Warning
Do not attempt to use this class after freeing it!
Returns
True. This is guaranteed to execute properly.

◆ ToVector3D()

Vector3D[] DHARTAPI.SpatialStructures.NodeList.ToVector3D ( )

Convert all nodes in this array to Vector3D.

Returns
The Nodes in this list as Vector3D

References DHARTAPI.NativeUtils.NativeArray< Node >.array, and DHARTAPI.NativeUtils.NativeArray< Node >.size.


The documentation for this class was generated from the following file: