Versions Compared

Key

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

eli — Eliminate points

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

*eli* \[*sca | xsca | zsca* \[*keep | und*] ] *lt | gt | bet | out | ins | iwi | owi | izo | ozo | ocu | owd | rsc | clip | num | cel | bse | und | dfd*

{panel}

h2. Description

Eliminate and / or replace point or scalar values in polydata or grid. 
For grids: the grid extension will be the same. The eliminated part will be undetermined. To reduce the extension of a grid use [gse].

h2. Arguments

*sca* 
{indent}Elimination is performed on the scalars and replaced on z values.{indent}
*xsca* 
{indent}Elimination is tested on scalars and replaced on the scalars.{indent} 
*zsca* 
{indent}Elimination is tested on z values and replaced on the scalar.{indent}
*keep* 
{indent}Scalar removal does not mean z removal.{indent} 
*und* 
{indent}Eliminate points of undefined values in scalars.{indent} 
*cel* 
{indent}Use cell scalars for elimination test.{indent} 
*gt* _value_ \[_rvalue_] 
{indent}Eliminate dataset values greater than _value_ \[replace by _rvalue_]. Similar for *lt*.{indent} 
*gt* _value_ \[_rvalue_ *rsc*] 
{indent}Eliminate dataset values greater than _value_ \[replace by _rvalue_ into the scalar]. Similar for *lt*.{indent} 
*bet* _value1 value2_ \[_rvalue_] 
{indent}Eliminate dataset values between _value1_ and _value2_ \[replace by _rvalue_]{indent} 
*bse* 
{indent}Eliminate points in cells between start and end.{indent} 
*ins hi* _workspacename_ \[_rvalue_] 
{indent}Eliminate points inside the area of grid in workspace _workspacename_ \[and replace by _rvalue_].{indent} 
*out* _value1 value2_ \[_rvalue_] 
{indent}Eliminate dataset values outside _value1_ and _value2_ \[replace by _rvalue_]{indent} 
*out hi* 
{indent}Outside, as for *ins hi*.{indent} 
*iwi* 
{indent}Eliminate data inside the window. The window is displayed by the frame icon.{indent} 
*owi* 
{indent}Eliminate data outside the window. The window is displayed by the frame icon.{indent} 
*izo* 
{indent}Eliminate data inside the zoom window. The zoom window is the visual screen window when operating in 2D mode.{indent} 
*ozo* 
{indent}Eliminate data outside the zoom window. The screen must be in 2D mode. See *eli izo*.{indent} 
*ocu* _distance_ 
{indent}Eliminate data outside the cursor point plus a distance _distance_.{indent}
*owd* \[_distance_] \[_name_] 
{indent}Eliminate data outside dataset plus distance in workspace named workdata or name.{indent} 
*rsc* 
{indent}Replace with scalars in the replace operation.{indent} 
*clip* 
{indent}Clip polydata exact towards the elimination boundary.{indent} 
*num* 
{indent}Eliminate and replace until a number.{indent} 
*nan* 
{indent}Eliminate all points that are *not_a_number*.{indent} 
*und* 
{indent}Interpolate undefined values in a grid.{indent} 
*dfd* 
{indent}Drop field data when eliminating points.{indent} 

h2. Examples

h3. Ex.1: Eliminate by scalars on combined polydata grid

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

Name

eli — Eliminate points

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

eli [sca | xsca | zsca [keep | und] ] lt | gt | bet | out | ins | iwi | owi | izo | ozo | ocu | owd | rsc | clip | num | cel | bse | und | dfd

Description

Eliminate and / or replace point or scalar values in polydata or grid.
For grids: the grid extension will be the same. The eliminated part will be undetermined. To reduce the extension of a grid use gse.

Arguments

sca

xsca

zsca

keep

und

cel

gt value [rvalue]

gt value [rvalue rsc]

bet value1 value2 [rvalue]

bse

ins hi workspacename [rvalue]

out value1 value2 [rvalue]

out hi

iwi

owi

izo

ozo

ocu distance

owd [distance] [name]

rsc

clip

num

nan

und

dfd

Examples

Ex.1: Eliminate by scalars on combined polydata grid

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
mak p             ;# Make polydata
mhi mygrid        ;# Move to mygrid
mak ran 11        ;# Make 11 random points
grp 222 222       ;# Make grid of dimension 222 x 222
mak p             ;# Make polydata
mak rsc mygrid    ;# Replace scalars from mygrid to active
eli sca gt 2500   ;# Eliminate z values when scalars are greater than 2500
map               ;# Map the result polydata grid
{noformat}

The

...

above

...

example

...

produces

...

this

...

image.

...

Image Added
Eliminate by scalars

See also

elc - Eliminate and clip, lgo - Logical operation for grids, rep - Replace, und - Undefined change