SilverScreen Solid Modeler

get_snap_value

get_snap_value

Previous topic Next topic  

get_snap_value

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

double get_snap_value ( void )

 

 

 

 

 




Synopsis

#include "silver.h"

 

The get_snap_value function returns SilverScreen's current snap increment value.

 

 

Parameters

none

 

 

Return Value

get_snap_value returns a double-precision floating-point value that is the snap increment associated with the current drawing

 

 

Remarks

The snap increment is the amount the 3D cursor is moved when cursor-snap is enabled. If cursor-snap is enabled and the snap value is 1/4 of an inch, say, then the cursor will move on a grid that is 1/4 inch in size and passes through the origin.

 

 

See Also

cv_get, cv_set