Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Unknown macro: {alias}

Name

eli — Eliminate points

Syntax

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

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

The above example produces this image.


Eliminate by scalars

See also

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

  • No labels