Rounds each component of a vector for given number of decimals.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static Vector3D RoundValues(
Vector3D v,
int decimals
) |
Visual Basic |
---|
Public Shared Function RoundValues ( _
v As Vector3D, _
decimals As Integer _
) As Vector3D |
JScript |
---|
public static function RoundValues(
v : Vector3D,
decimals : int
) : Vector3D |
Parameters
- v
- Type: System.Windows.Media.Media3D..::..Vector3D
Input vector.
- decimals
- Type: System..::..Int32
Number of decimals to preserve.
Return Value
Vector with rounded components.
See Also