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

ca00be3c 94a8 75b4 e601 1b744ff5ffa7

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 Vector3 Round(
	Vector3 u,
	int numDigits
)

VB

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

C++

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

F#

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

Parameters

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

Return Value

Vector3
The rounded vector.

See Also

Reference

Vector3 Structure
netDxf Namespace

Clone this wiki locally