C# 클래스 TriangleNet.Tools.RegionIterator

Iterates the region a given triangle belongs to and applies an action to each connected trianlge in that region. Default action is to set the region id.
파일 보기 프로젝트 열기: filipkunc/GLGraphics 1 사용 예제들

공개 메소드들

메소드 설명
Process ( TriangleNet.Data.Triangle triangle ) : void

Set the region attribute of all trianlges connected to given triangle.

Process ( TriangleNet.Data.Triangle triangle, Action func ) : void

Process all trianlges connected to given triangle and apply given action.

RegionIterator ( Mesh mesh ) : System

비공개 메소드들

메소드 설명
ProcessRegion ( Action func ) : void

Spread regional attributes and/or area constraints (from a .poly file) throughout the mesh.

This procedure operates in two phases. The first phase spreads an attribute and/or an area constraint through a (segment-bounded) region. The triangles are marked to ensure that each triangle is added to the virus pool only once, so the procedure will terminate. The second phase uninfects all infected triangles, returning them to normal.

메소드 상세

Process() 공개 메소드

Set the region attribute of all trianlges connected to given triangle.
public Process ( TriangleNet.Data.Triangle triangle ) : void
triangle TriangleNet.Data.Triangle
리턴 void

Process() 공개 메소드

Process all trianlges connected to given triangle and apply given action.
public Process ( TriangleNet.Data.Triangle triangle, Action func ) : void
triangle TriangleNet.Data.Triangle
func Action
리턴 void

RegionIterator() 공개 메소드

public RegionIterator ( Mesh mesh ) : System
mesh Mesh
리턴 System