Returns true if inside. Stores the vertex indices and interpolation weights for the given position in the arrays

Namespace: Visualisierung_BSP2
Assembly: Visualisierung_BSP2 (in Visualisierung_BSP2.exe) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool getInterpolationAt(
	Vec3 pos,
	int[] vtxID,
	float[] coef
)
Visual Basic
Public Function getInterpolationAt ( _
	pos As Vec3, _
	vtxID As Integer(), _
	coef As Single() _
) As Boolean
Visual C++
public:
bool getInterpolationAt(
	Vec3^ pos, 
	array<int>^ vtxID, 
	array<float>^ coef
)

Parameters

pos
Type: Visualisierung_BSP2..::..Vec3
geometrical position for the lookup
vtxID
Type: array<System..::..Int32>[]()[][]
list of surrounding vertices (given by vertex ID)
coef
Type: array<System..::..Single>[]()[][]
list of surrounding vertex weights (sum == 1.0)

Return Value

true if the given position is inside of the geometrical boundaries

See Also