Click or drag to resize
Ab4d.SharpEngine logo

MeshUtilsRemoveDuplicateFollowingPositions Method

RemoveDuplicateFollowingPositions checks an array of Vector3 and returns an array with removed duplicate positions that follow each other. In case there are no duplicates, the same positions instance is returned as it was passed to this method (no new array is created).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static Vector3[]? RemoveDuplicateFollowingPositions(
	Vector3[]? positions,
	float epsilon = 1E-08f
)

Parameters

positions  Vector3
array of Vector3
epsilon  Single  (Optional)
epsilon (default value is 1.0E-8f)

Return Value

Vector3
array of Vector3 without duplicate following positions
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshUtils.RemoveDuplicateFollowingPositions(System.Numerics.Vector3[],System.Single)"]

See Also