Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

5b488ab0 c515 3186 5161 de6f8c29d641

haplokuon edited this page May 6, 2023 · 1 revision

Round Method

netDxf 3.0.0 Library

Rounds the components of a vector.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static Vector4 Round(
	Vector4 u,
	int numDigits
)

VB

Public Shared Function Round ( 
	u As Vector4,
	numDigits As Integer
) As Vector4

C++

public:
static Vector4 Round(
	Vector4 u, 
	int numDigits
)

F#

static member Round : 
        u : Vector4 * 
        numDigits : int -> Vector4 

Parameters

  Vector4
Vector to round.
  Int32
Number of decimal places in the return value.

Return Value

Vector4
The rounded vector.

See Also

Reference

Vector4 Structure
netDxf Namespace

Clone this wiki locally