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

9b313db0 d1d7 6360 717c ab9cc4453bf8

haplokuon edited this page May 6, 2023 · 1 revision

IsOne(Double, Double) Method

netDxf 3.0.0 Library

Checks if a number is close to one.

Definition

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

C#

public static bool IsOne(
	double number,
	double threshold
)

VB

Public Shared Function IsOne ( 
	number As Double,
	threshold As Double
) As Boolean

C++

public:
static bool IsOne(
	double number, 
	double threshold
)

F#

static member IsOne : 
        number : float * 
        threshold : float -> bool 

Parameters

  Double
Double precision number.
  Double
Tolerance.

Return Value

Boolean
True if its close to one or false in any other case.

See Also

Reference

MathHelper Class
IsOne Overload
netDxf Namespace

Clone this wiki locally