Click or drag to resize
Ab4d.SharpEngine logo

MeshAnalyzer Class

MeshAnalyzer class can analyze the mesh and produce a list of Edges and Polygons (triangles) that define the mesh. MeshAnalyzer can also create edge lines that are created between triangles that have normal angles bigger than the specified angle.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesMeshAnalyzer

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class MeshAnalyzer

The MeshAnalyzer type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyEdges Gets list of MeshEdge structs that define all the edges of the specified mesh.
Public propertyPolygons Gets list of MeshPolygon structs that define all the polygons (triangles) of the specified mesh.
Public propertyPositions Gets list of unique Point3D positions that are created from the specified mesh.
Top
Methods
 NameDescription
Public methodAnalyze Analyze method analyzes the mesh and creates the Positions, Edges and Polygons lists.
Public methodCreateEdgeLinesObsolete.
CreateEdgeLines is an old method to generate edge lines. Please use the new method by using the EdgeLinesFactory class. Use this method only if the new method does not provide the correct results.
Public methodDump Dump method dumps the string with information about the created positions, polygons and edges to standard output (usually Visual Studio Output window).
Public methodGetMeshAnalyzerInfo GetMeshAnalyzerInfo returns a string that shows the created positions, polygons and edges.
Public methodStatic memberTryCreate TryCreate method tries to create a MeshAnalyzer from the specified mesh.
Top
See Also