2.2.40 xy_resample

Brief Information

Resample XY data within specified boundary

Command Line Usage

1. xy_resample iy:=Col(B)

2. xy_resample iy:=Col(B) b:=Col(E)

3. xy_resample iy:=Col(B) e:=20

4. xy_resample iy:=Col(B) b:=Col(E) e:=20 oy:=Col(G)

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input iy

Input

XYRange

The input data range

Boundary Vertices b

Input

XYRange

Vertices of the boundary curve. If this option is null, the input data boundary will be used.

Number of Points on Edge e

Input

int

50

Edge points on the boundary

Output oy

Output

XYRange

<new>

The output data range

See the syntax here.

Description

Given a closed polygon boundary domain in the plane, this X-Function generates interior mesh by delaunay triangulation and resamples data points at the mesh nodes.

Examples

1. Import Resample.dat in \\Samples\Data Manipulation folder.

2. Set column D as X column, then column D, E will be used as boundary curve.

3. Type xy_resample -d in the command window to bring up the dialog.

4. Set column A, B as Input and D, E as Boundary Vertices. Enter 50 to the Number of Points on Edge box.

5. Click OK to run the X-Function.

Algorithm

Detail algorithms please read the NAG help, d06 - Mesh Generation.

References

George P. L and Borouchaki H (1998). Delaunay Triangulation and Meshing: Application to Finite Elements. Editions HERMES, Paris.

Related X-Functions

xyz_resample


Keywords:mesh