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: 126.96.36.199 (188.8.131.52)
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.