C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Data for support of discrete length/radius/distance. More...

#include <alg_diskrete_length_data.h>

Public Member Functions

 DiskreteLengthData (double fact)
 Constructor.
 
void SetFactor (double fact)
 Set the number, which should be a multiple of the value to be corrected.
 
bool CorrectLength (double &len) const
 Correct the given value.
 

Detailed Description

Data for support of discrete length/radius/distance.

Data for support of discrete length/radius/distance in processes of input of curves by user.
For rounding to the multiple of value of the cursor step:
Standard round-off - the value is rounded down if the difference between the current value and the nearest multiple of the initial value is less than a half of cursor step, the value is rounded up otherwise.


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