Rounds the components of a vector.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Vector3 Round(
Vector3 u,
int numDigits
)
Public Shared Function Round (
u As Vector3,
numDigits As Integer
) As Vector3
public:
static Vector3 Round(
Vector3 u,
int numDigits
)
static member Round :
u : Vector3 *
numDigits : int -> Vector3
STATIC METHOD Round(
u AS Vector3,
numDigits AS LONG
) AS Vector3
Parameters
- u
- Type: DXFReaderNETVector3
Vector to round. - numDigits
- Type: SystemInt32
Number of decimal places in the return value.
Return Value
Type:
Vector3The rounded vector.
See Also