The following functions to distribute points on spline curves
are available:
- by solving a poisson equation,
- by using exponential functions,
- by applying a third order hermite polynom,
- by evaluating an inverse cubic function.
This method uses the number of cells, a first and a last
cell size (spacing) to create a point distribution
based on the arc length of the spline.
The cell size varies very smoothly, but the computational
effort is larger than that of the alternate algorithms.
If no start and end spacing is selected the result is an
equidistribution.
Usage:
- Select entity on which points should be distributed
- Select start spacing (not necessary)
- Select end spacing (not necessary)
- Select entity with reference number of points or specify in the textfield
- Select scaling of start spacing (if entity with a start spacing was selected), Poisson only
- Select scaling of end spacing (if entity with a start end was selected), Poisson only
Result:
- Spline with point distribution
Script process and parameter: distr_points_1d_poisson
- Index of entity on which points should be distributed
- Index of start spacing or 0
- Index of end spacing or 0
- Number of grid cells (0 if next parameter is specified)
- Index of entity with reference number of points
- Scaling of source term
- Type of distribution (0=Poisson, 1=Hermite, 2=Biexpo, 3=Cubic)
- Scaling of start spacing (Poisson only)
- Scaling of end spacing (Poisson only)
Calculates point distributions based on an exponential
function. For each half of the arc length a (mirrored) exponential
function is calculated and applied to the corresponding half segment.
Distributes points taking into account a start and an end
spacing.
Distributes points taking into account a start and an end
spacing. The cell size varies with an inverse cubic equation.
Limits:
In contrast to poisson distributions,
exponential functions, cubic distributions and hermite polynom
distributions are not flexible enough to adapt to large first and last
spacings when a large number of cells should be squeezed
in between.
These algorithms change the first and last spacing
to accommodate the desired number of cells without creating
too small cells (avoids extreme cell squeezing).
If this adaption occurs, an informational message is
written to the message window.
The cubic distribution may fail when the first and last spacings
are extremely different.
If neither first nor last spacings are specified, a uniform
distribution is created.
{Build by Martin Hepperle}
{Rebuild 853: Monday, 16, 1997 at 13:26:45, March, by Olaf Brodersen}