Space Engineers
Public Member Functions | Properties | List of all members
VRageMath.Spatial.MyVector3DGrid< T >.Enumerator Struct Reference

Public Member Functions

 Enumerator (MyVector3DGrid< T > parent, ref Vector3D point, double dist)
 
bool RemoveCurrent ()
 Removes the current entry and returns true whether there is another entry. May invalidate enumerators in the same bin. To remove values from more enumerators while ensuring their validity use MyVector3Grid.RemoveTwo(...). More...
 
bool MoveNext ()
 

Properties

Current [get]
 
Vector3I CurrentBin [get]
 
int PreviousIndex [get]
 
int StorageIndex [get]
 

Detailed Description

Definition at line 23 of file MyVector3DGrid.cs.

Constructor & Destructor Documentation

VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.Enumerator ( MyVector3DGrid< T >  parent,
ref Vector3D  point,
double  dist 
)
inline

Definition at line 34 of file MyVector3DGrid.cs.

Member Function Documentation

bool VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.MoveNext ( )
inline

Definition at line 100 of file MyVector3DGrid.cs.

bool VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.RemoveCurrent ( )
inline

Removes the current entry and returns true whether there is another entry. May invalidate enumerators in the same bin. To remove values from more enumerators while ensuring their validity use MyVector3Grid.RemoveTwo(...).

Definition at line 75 of file MyVector3DGrid.cs.

Property Documentation

T VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.Current
get

Definition at line 51 of file MyVector3DGrid.cs.

Vector3I VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.CurrentBin
get

Definition at line 56 of file MyVector3DGrid.cs.

int VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.PreviousIndex
get

Definition at line 61 of file MyVector3DGrid.cs.

int VRageMath.Spatial.MyVector3DGrid< T >.Enumerator.StorageIndex
get

Definition at line 66 of file MyVector3DGrid.cs.


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