Space Engineers
Classes | Public Member Functions | Static Public Attributes | List of all members
Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper Class Reference

Classes

struct  OuterEdgePoint
 

Public Member Functions

void ClearCell ()
 
void PreprocessInnerEdge (ushort a, ushort b)
 
bool IsInnerEdge (ushort v0, ushort v1)
 
int TryGetAndRemoveEdgeIndex (ushort iv0, ushort iv1, ref Vector3 posv0, ref Vector3 posv1)
 
void AddEdgeIndex (ushort iv0, ushort iv1, ref Vector3 posv0, ref Vector3 posv1, int edgeIndex)
 
void AddOuterEdgeIndex (ref Vector3 posv0, ref Vector3 posv1, int edgeIndex)
 
void FixOuterEdge (int edgeIndex, bool firstPoint, Vector3 currentPosition)
 
bool TryRemoveOuterEdge (ref Vector3 posv0, ref Vector3 posv1, ref int edgeIndex)
 
void DebugDraw (ref Matrix drawMatrix, MyWingedEdgeMesh mesh)
 
void CollectOuterEdges (List< MyTuple< OuterEdgePoint, Vector3 >> output)
 

Static Public Attributes

static float OUTER_EDGE_EPSILON = 0.05f
 
static float OUTER_EDGE_EPSILON_SQ = OUTER_EDGE_EPSILON * OUTER_EDGE_EPSILON
 

Detailed Description

Definition at line 15 of file MyVoxelConnectionHelper.cs.

Member Function Documentation

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.AddEdgeIndex ( ushort  iv0,
ushort  iv1,
ref Vector3  posv0,
ref Vector3  posv1,
int  edgeIndex 
)
inline

Definition at line 142 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.AddOuterEdgeIndex ( ref Vector3  posv0,
ref Vector3  posv1,
int  edgeIndex 
)
inline

Definition at line 162 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.ClearCell ( )
inline

Definition at line 83 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.CollectOuterEdges ( List< MyTuple< OuterEdgePoint, Vector3 >>  output)
inline

Definition at line 306 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.DebugDraw ( ref Matrix  drawMatrix,
MyWingedEdgeMesh  mesh 
)
inline

Definition at line 265 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.FixOuterEdge ( int  edgeIndex,
bool  firstPoint,
Vector3  currentPosition 
)
inline

Definition at line 168 of file MyVoxelConnectionHelper.cs.

bool Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.IsInnerEdge ( ushort  v0,
ushort  v1 
)
inline

Definition at line 109 of file MyVoxelConnectionHelper.cs.

void Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.PreprocessInnerEdge ( ushort  a,
ushort  b 
)
inline

Definition at line 90 of file MyVoxelConnectionHelper.cs.

int Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.TryGetAndRemoveEdgeIndex ( ushort  iv0,
ushort  iv1,
ref Vector3  posv0,
ref Vector3  posv1 
)
inline

Definition at line 121 of file MyVoxelConnectionHelper.cs.

bool Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.TryRemoveOuterEdge ( ref Vector3  posv0,
ref Vector3  posv1,
ref int  edgeIndex 
)
inline

Definition at line 204 of file MyVoxelConnectionHelper.cs.

Member Data Documentation

float Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.OUTER_EDGE_EPSILON = 0.05f
static

Definition at line 80 of file MyVoxelConnectionHelper.cs.

float Sandbox.Game.AI.Pathfinding.MyVoxelConnectionHelper.OUTER_EDGE_EPSILON_SQ = OUTER_EDGE_EPSILON * OUTER_EDGE_EPSILON
static

Definition at line 81 of file MyVoxelConnectionHelper.cs.


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