Click or drag to resize
AB4D logo

MeshAnalyzer Class

MeshAnalyzer class can analyze the MeshGeometry3D 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
  Ab3d.UtilitiesMeshAnalyzer

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax
C#
public class MeshAnalyzer

The MeshAnalyzer type exposes the following members.

Constructors
  NameDescription
Public methodMeshAnalyzer
Constructor
Top
Properties
  NameDescription
Public propertyEdges
Gets list of MeshEdge structs that define all the edges of the specified MeshGeometry3D.
Public propertyPolygons
Gets list of MeshPolygon structs that define all the polygons (triangles) of the specified MeshGeometry3D.
Public propertyPositions
Gets list of unique Point3D positions that are created from the specified MeshGeometry3D.
Top
Methods
  NameDescription
Public methodAnalyze
Analyze method analyzes the MeshGeometry3D and creates the Positions, Edges and Polygons lists.
Public methodCreateEdgeLines
CreateEdgeLines gets an angle in degrees and returns a list of position indices (indexes) that represent edge lines. En edge line is created when the difference between two adjacent triangle normals is bigger than the specified angle.
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 methodGetDumpString
GetDumpString returns a string that shows the created positions, polygons and edges.
Top
See Also