FrameIT
REST_JSON_API.ApproximationComparer Class Reference

Used to check for approximate equality on number values, e.g. within SOMDoc.Equivalent(SOMDoc) More...

Inheritance diagram for REST_JSON_API.ApproximationComparer:

Public Member Functions

 ApproximationComparer (double precission=Math3d.vectorPrecission)
 
override bool Equals (object x, object y)
 
override int GetHashCode (object obj)
 

Static Public Attributes

static readonly ApproximationComparer Instance = new()
 

Private Attributes

double precission
 

Detailed Description

Used to check for approximate equality on number values, e.g. within SOMDoc.Equivalent(SOMDoc)

Constructor & Destructor Documentation

◆ ApproximationComparer()

REST_JSON_API.ApproximationComparer.ApproximationComparer ( double  precission = Math3d.vectorPrecission)

Member Function Documentation

◆ Equals()

override bool REST_JSON_API.ApproximationComparer.Equals ( object  x,
object  y 
)

◆ GetHashCode()

override int REST_JSON_API.ApproximationComparer.GetHashCode ( object  obj)

Member Data Documentation

◆ Instance

readonly ApproximationComparer REST_JSON_API.ApproximationComparer.Instance = new()
static

◆ precission

double REST_JSON_API.ApproximationComparer.precission
private

The documentation for this class was generated from the following file: