grid:interval
List of: Scheme Extensions
Subjects: Grids
Contents: Graphic Interaction

Action: Gets the snap interval between displayed grid points.

Filename: gi/gi_scm/grid_scm.cxx

APIs: api_gi_get_grid_snap_intervals

Syntax: (grid:interval)

Arg Types: None

Returns: real ...

Description: This extension returns the grid's dx, dy, and dz as a list of three reals. The reals indicates the distance between neighboring grid lines in the x-, y-, and z-directions. The default is 1.0 for x and y, and 0.0 for z.

Example: ; grid:interval

; Turn the grid on.

(grid:set-display #t)

;; ()

; Set the grid display interval.

(grid:set-interval 2 2)

;; ()

; Get the grid display interval.

(grid:interval)

;; (2 2 0)
PDF/GI/02SCG.PDF
HTM/DATA/GI/GI/02SCG/0005.HTM