NeighborPolygons (Edge) *

Introduced

3.0

Description

Returns a collection of PolygonFace objects for all polygon neighbors within a given distance. If the distance is 1 the adjacent PolygonFace are returned (1 if border edge, 2 otherwise).

Scripting Syntax

Edge.NeighborPolygons( [Distance] )

C# Syntax

PolygonFaceCollection Edge.NeighborPolygons( Int32 in_lDistance );

Parameters

Parameter

Type

Description

Distance

Integer

Distance is an integer value representing the degree of neighborhood (for example, degree=2 for a polygon means its adjacent polygons plus the adjacent polygons of the adjacent polygons).

Default Value: 1

Return Value

PolygonFaceCollection

See Also

EdgeCollection.NeighborPolygons

Edge.NeighborVertices

Edge.NeighborEdges

Edge.GrowNeighborEdges

Examples

• See Edge.NeighborPolygons.1.vbs



Autodesk Softimage 2011