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

585408e3 11d1 2338 08da b271a18cfdcc

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

VB

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

C++

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

F#

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

Parameters

  Vector2
Vector2.
  Int32
Number of decimal places in the return value.

Return Value

Vector2
Vector2.

See Also

Reference

Vector2 Structure
netDxf Namespace

Clone this wiki locally