Provides methods to reconstruct a surface consisting of triangular and/or quad faces from completely unordered wireframe edges.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public class SurfaceReconstructor
Visual Basic (Declaration)
Public Class SurfaceReconstructor
Visual C++
public ref class SurfaceReconstructor

Remarks

The output of the main method ReconstructSurface(Int32) is a list of SurfaceReconstructor..::.Tri and SurfaceReconstructor..::.Quad objects. The first holds three integers, the second four integers. These integers are indices referring to the vertex list Vertices. The GetSurfaceAsTriangleList(Int32%) method returns the surface în form of Triangle objects. Thereby, each each Quad object is converted into two Triangles. To get only tris or quads, respectively, clear the Tris or Quads lists, respectively, before calling the GetSurfaceAsTriangleList(Int32%) method.

Inheritance Hierarchy

System..::.Object
  ceometric.ComputationalGeometry..::.SurfaceReconstructor

See Also