Wiki Markup |
---|
{alias:elc}
h2. Name
*elc* — Eliminate with clip functionality
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*elc lt | gt | bet | out*
{panel}
h2. Description
This command works primarely on polydata. All grids of type structured points will be transformed to polydata. The clipping edge will be made up with triangles.
h2. Arguments
*gt* _val_ \[_rval_]
{indent}Eliminate dataset values greater than _val_ \[replace by _rval_] {indent}
*lt* _val_ \[_rval_]
{indent}Eliminate dataset values less than _val_ \[replace by _rval_]{indent}
*bet* _val1 val2_ \[_rval_]
{indent}Eliminate dataset values between _val1_ and _val2_ \[replace by _rval_]{indent}
*out* _val1 val2_ \[_rval_]
{indent}Eliminate dataset values outside range from _val1_ to _val2_ \[replace by _rval_]{indent}
h2. Examples
h3. Ex.1: Eliminate and clipping
{noformat:|borderWidth=1|bgColor=#eeeeee} |
Name
elc — Eliminate with clip functionality
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
elc lt | gt | bet | out |
Description
This command works primarely on polydata. All grids of type structured points will be transformed to polydata. The clipping edge will be made up with triangles.
Arguments
gt val [rval]
lt val [rval]
bet val1 val2 [rval]
out val1 val2 [rval]
Examples
Ex.1: Eliminate and clipping
No Format | ||||
---|---|---|---|---|
| ||||
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
map opa .5 rng 1000 4000 ;# Map the grid with opacity 0.5 and fixed range
dis opa .5 ;# Display the grid with opacity 0.5
elc gt 2777 ;# Eliminate and clip greater than 2777
map rng 1000 4000 ;# Map the grid with same range
{noformat}
|
The
...
above
...
example
...
produces
...
this
...
image.
...
Eliminate by clipping through cells
See also
clip - Clip dataset, clp - Clip with closed line, eli - Eliminate points