public class SmoothingFilterInitializer extends Object
Note that this class modifies the index values of the vertices stored in the TIN. It also depends on the modified values as a way of tracking vertices. Therefore, calling applications should not modify these values while the smoothing filter is being used.
| Constructor and Description |
|---|
SmoothingFilterInitializer(IIncrementalTin tin,
int nPasses)
Construct a smoothing filter.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getTimeToConstructFilter()
Gets the time required to construct the filter, in milliseconds.
|
public SmoothingFilterInitializer(IIncrementalTin tin, int nPasses)
Important usage note: this constructor modifies the index values of the vertices stored in the TIN. It also depends on the modified values as a way of tracking vertices. Therefore, calling applications should not modify these values while the smoothing filter is being used.
The vertices belonging to constraints are not smoothed, but are represented with their original values by the smoothing filter.
tin - a valid Delaunay TriangulationnPasses - the number of passes to perform over the data for smoothing;
the more passes, the more the complexity of the data is reduced.Copyright © 2019. All rights reserved.