Click or drag to resize
AB4D logo

ScreenSpaceLineNodeRemoveDuplicateFollowingPositions 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: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
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
See Also