SilverScreen Solid Modeler

get_epsilon

get_epsilon

Previous topic Next topic  

get_epsilon

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

double get_epsilon ( void )

 

 

 

 

 




Synopsis

#include "silver.h"

 

The get_epsilon function retrieves the value used by SilverScreen to equate floating-point numbers.

 

 

Parameters

none

 

Return Value

get_epsilon returns a double-precision floating-point value that is an equality threshold. Two numbers that differ by less-than this amount, or which are equal to it, will be considered equal.

 

 

Remarks

This value is set in the environment file and modification of it will affect when two 3D points are considered equal.