Returns a polyline definition based on triangle edges that meet the same filter criteria.
[Visual Basic .NET] Public Function ExtractPolyline ( _ ByVal pSeed As ITinEdge, _ ByVal pFilter As ITinFilter _ ) As ITinPolyline
[C#] public ITinPolyline ExtractPolyline ( ITinEdge pSeed, ITinFilter pFilter );
[C++] HRESULT ExtractPolyline( ITinEdge* pSeed, ITinFilter* pFilter, ITinPolyline** ppPolyline );
pSeed is a parameter of type ITinEdgepFilter [in]
pFilter is a parameter of type ITinFilterppPolyline [out, retval]
ppPolyline is a parameter of type ITinPolyline
Returns a TinPolyline that represents the polyline defined by the input seed and filter.
The seed is a TIN edge that falls anywhere along the desired polyline.
The filter defines the criteria used to extract the polyline. Starting from one node of the seed edge, the function looks for an adjoining edge that passes through the filter. As long as there is one, and only one, adjoining edge that passes through the filter it gets included in the polyline definition and becomes the next step in the iteration. After the end is reached in one direction, the same process occurs starting from the other node of the seed edge.
If the polyline you want to extract is, for example, a hard breakline, you find one edge along that line to use as a seed, and set the Type property of the TinEdgeTypeFilter to ‘esriTinHardEdge’.
Line junctures exist when three or more edges with the filter property meet at a node. They are where lines meet or intersect. ExtractPolyline stops at junctures; it never returns lines that pass through them.