Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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}

Name

cut — Cut grid data

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

cut workspacename [siu] [grid]

Description

Make a cut line where a line crosses a grid. Input is a line in active defining the cut trace.

Arguments

workspacename

siu

grid

Examples

Ex.1: Title-of-example

No Format
bgColor#eeeeee
borderWidth1
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.

...

Image Added
Cutting grid with a line

See also

clip - Clip dataset , ctp - Cut data with a plane , mak lin , zap - Zap (or snap) to data