Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{alias:rep}
h2. Name

*rep* — Replace

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*rep lo | hi* _workspacename_

{panel}

h2. Description

Replace undefined parts of a structured point grid in active by defined gridcells from a maching grid in a workspace. 

h2. Arguments

*lo* _workspacename_ 
{indent}Replace undefined parts of the grid in active by defined nodes from the grid in workspace _workspacename_.{indent} 
*hi* _workspacename_ 
{indent}Replace undefined parts of the grid in workspace _workspacename_ by defined nodes from the grid in active.{indent} 

h2. Examples

h3. Ex.1: Title-of-example

{noformat:|borderWidth=1|bgColor=#eeeeee}

Name

rep — Replace

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

rep lo | hi workspacename

Description

Replace undefined parts of a structured point grid in active by defined gridcells from a maching grid in a workspace.

Arguments

lo workspacename

hi workspacename

Examples

Ex.1: Title-of-example

No Format
bgColor#eeeeee
borderWidth1
z                            ;# Erase screen
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 inc 100 100              ;# Make first grid with increment 100 x 100
eli gt 3000                  ;# Eliminate greater that 3000
mhi fgrid                    ;# Move to fgrid
mak ran 11                   ;# Make 11 random points
grp inc 100 100              ;# Make second grid with increment 100 x 100
eli gt 2000                  ;# Eliminate greater that 1500
rep lo fgrid                 ;# Replace undefined parts with defined in fgrid
map                          ;# Map using range from 2222 to 3333
{noformat}

The

...

above

...

example

...

produces

...

this

...

image.

...

Image Added
Replace undefined in a grid with defined in another grid

See also

bmo - Border model grid , eli - Eliminate points , igg - Interpolated grid to grid , lgo - Logical operation for grids , und - Undefined change