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 |
|---|---|
List<Vertex> |
getConnectedPolygon(IQuadEdge e)
Gets a polygon consisting of edges connected to
the specified edge (in effect providing the set of vertices
connected to the starting vertex of the specified edge).
|
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.public double getTimeToConstructFilter()
public List<Vertex> getConnectedPolygon(IQuadEdge e)
e - the starting edgeCopyright © 2021. All rights reserved.