Table of Contents

Class BowyerWatsonTetrahedralization

Namespace
Stride.Rendering.LightProbes
Assembly
Stride.Rendering.dll

Bowyer-Watson tetrahedralization algorithm. More details at http://en.wikipedia.org/wiki/Bowyer%E2%80%93Watson_algorithm.

public class BowyerWatsonTetrahedralization
Inheritance
BowyerWatsonTetrahedralization

Fields

ExtrapolationDistance

public const float ExtrapolationDistance = 100

Field Value

float

Methods

Compute(IReadOnlyList<Vector3>)

public BowyerWatsonTetrahedralization.Result Compute(IReadOnlyList<Vector3> vertices)

Parameters

vertices IReadOnlyList<Vector3>

Returns

BowyerWatsonTetrahedralization.Result

exactinit()

public static extern void exactinit()

insphere(ref Vector3, ref Vector3, ref Vector3, ref Vector3, ref Vector3)

public static extern float insphere(ref Vector3 pa, ref Vector3 pb, ref Vector3 pc, ref Vector3 pd, ref Vector3 pe)

Parameters

pa Vector3
pb Vector3
pc Vector3
pd Vector3
pe Vector3

Returns

float

orient3d(ref Vector3, ref Vector3, ref Vector3, ref Vector3)

public static extern float orient3d(ref Vector3 pa, ref Vector3 pb, ref Vector3 pc, ref Vector3 pd)

Parameters

pa Vector3
pb Vector3
pc Vector3
pd Vector3

Returns

float