Wiki Markup |
---|
{alias:cut}
h2. Name
*cut* — Cut grid data
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*cut* _workspacename_ \[*siu*] \[*grid*]
{panel}
h2. Description
Make a cut line where a line crosses a grid. Input is a line in active defining the cut trace.
h2. Arguments
_workspacename_
{indent}Generate a cross section following a line through the grid in workspace _workspacename_.{indent}
*siu*
{indent}Skip trace in undefined areas.{indent}
*grid*
{indent}The generated cut trace will be at the crossing point with the grid.{indent}
h2. Examples
h3. Ex.1: Title-of-example
{noformat:|borderWidth=1|bgColor=#eeeeee}
win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi ;# Specify background color to white
mak ran 11 ;# Make 11 random points
grp 222 222 ;# Make grid of dimension 222 x 222
mhi mygrid ;# Move the grid to workspace 'mygrid'
map ;# Map the grid
mak ran 5 ;# Make 5 random points
cut mygrid ;# Cut the grid with the generated line
pol 4 ;# Draw cut line with line width 4
{noformat}
The above example produces this image.
!att:_img_ref^cmd_cut.png!
_Cutting grid with a line_
h2. See also
[clip] , [ctp] , [mak] lin , [zap]
|
Page Comparison
General
Content
Integrations