Space Engineers
|
Classes | |
struct | SphereQuery |
Public Member Functions | |
MyVector3Grid (float cellSize) | |
MyVector3Grid (float cellSize, IEqualityComparer< T > comparer) | |
void | Clear () |
void | ClearFast () |
Clears the storage faster than clear. Only use for value type T More... | |
void | AddPoint (ref Vector3 point, T data) |
void | RemovePoint (ref Vector3 point) |
void | MovePoint (int index, ref Vector3 newPosition) |
int | FindPointIndex (ref Vector3 point, T data) |
Returns the index of the point containing the given data on the given position The index is only valid as long as the grid does not change! More... | |
T | GetData (int index) |
Returns the data stored at the given index More... | |
Vector3 | GetPoint (int index) |
Returns the point at which the data is stored at the given index More... | |
SphereQuery | QueryPointsSphere (ref Vector3 point, float dist) |
Returns a query for iterating over points inside a sphere of radius dist around the given point More... | |
void | RemoveTwo (ref SphereQuery en0, ref SphereQuery en1) |
Removes values pointed at by en0 and en1 and ensures that the queries both stay consistent More... | |
Dictionary< Vector3I, int >.Enumerator | EnumerateBins () |
int | GetNextBinIndex (int currentIndex) |
void | GetLocalBinBB (ref Vector3I binPosition, out BoundingBoxD output) |
void | CollectStorage (int startingIndex, ref List< T > output) |
void | CollectEntireStorage (List< T > output) |
Properties | |
int | Count [get] |
int | InvalidIndex [get] |
Definition at line 9 of file MyVector3Grid.cs.
|
inline |
Definition at line 166 of file MyVector3Grid.cs.
|
inline |
Definition at line 168 of file MyVector3Grid.cs.
|
inline |
Definition at line 200 of file MyVector3Grid.cs.
|
inline |
Definition at line 181 of file MyVector3Grid.cs.
|
inline |
Clears the storage faster than clear. Only use for value type T
Definition at line 192 of file MyVector3Grid.cs.
|
inline |
Definition at line 448 of file MyVector3Grid.cs.
|
inline |
Definition at line 433 of file MyVector3Grid.cs.
|
inline |
Definition at line 415 of file MyVector3Grid.cs.
|
inline |
Returns the index of the point containing the given data on the given position The index is only valid as long as the grid does not change!
Definition at line 336 of file MyVector3Grid.cs.
|
inline |
Returns the data stored at the given index
Definition at line 357 of file MyVector3Grid.cs.
|
inline |
Definition at line 427 of file MyVector3Grid.cs.
|
inline |
Definition at line 420 of file MyVector3Grid.cs.
|
inline |
Returns the point at which the data is stored at the given index
Definition at line 365 of file MyVector3Grid.cs.
|
inline |
Definition at line 280 of file MyVector3Grid.cs.
|
inline |
Returns a query for iterating over points inside a sphere of radius dist around the given point
Definition at line 373 of file MyVector3Grid.cs.
|
inline |
Definition at line 228 of file MyVector3Grid.cs.
|
inline |
Removes values pointed at by en0 and en1 and ensures that the queries both stay consistent
Definition at line 381 of file MyVector3Grid.cs.
|
get |
Definition at line 162 of file MyVector3Grid.cs.
|
get |
Definition at line 164 of file MyVector3Grid.cs.