Clamp function, clamps a 2d-vector into the range [min..max]

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static Vector2D Clamp(
	Vector2D v,
	double min,
	double max
)

Parameters

v
Type: VVVV.Utils.VMath..::..Vector2D

[Missing <param name="v"/> documentation for "M:VVVV.Utils.VMath.VMath.Clamp(VVVV.Utils.VMath.Vector2D,System.Double,System.Double)"]

min
Type: System..::..Double

[Missing <param name="min"/> documentation for "M:VVVV.Utils.VMath.VMath.Clamp(VVVV.Utils.VMath.Vector2D,System.Double,System.Double)"]

max
Type: System..::..Double

[Missing <param name="max"/> documentation for "M:VVVV.Utils.VMath.VMath.Clamp(VVVV.Utils.VMath.Vector2D,System.Double,System.Double)"]

Return Value

[Missing <returns> documentation for "M:VVVV.Utils.VMath.VMath.Clamp(VVVV.Utils.VMath.Vector2D,System.Double,System.Double)"]

See Also