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: 184.108.40.206 (220.127.116.11)
public class SurfaceReconstructor
|Visual Basic (Declaration)|
Public Class SurfaceReconstructor
public ref class SurfaceReconstructor
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.