Click or drag to resize
AB4D logo

EdgeLinesFactory Class

EdgeLinesFactory class simplifies creation of edge lines for Model3D and Visual3D objects.
Inheritance Hierarchy
SystemObject
  Ab3d.UtilitiesEdgeLinesFactory

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.0.8000.1045
Syntax
C#
public static class EdgeLinesFactory

The EdgeLinesFactory type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddEdgeLinePositions
AddEdgeLinePositions method goes through all GeometryModel3D objects in the specified model3D hierarchy and collects the edge lines and adds their start and end positions to the linePositions collection. The edge lines are created if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
Public methodStatic memberClearEdgeLineIndices
ClearEdgeLineIndices method clears the EdgeLineIndicesProperty DependencyProperty values in the specified model3D and all its children.
Public methodStatic memberCreateEdgeLinesForEachGeometryModel3D
CreateEdgeLinesForEachGeometryModel3D method goes through all GeometryModel3D objects in the specified model3D hierarchy and creates one MultiLineVisual3D for each GeometryModel3D. The edge lines are created if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
Public methodStatic memberGenerateEdgeLineIndices
GenerateEdgeLineIndices method goes through all GeometryModel3D objects in the specified model3D hierarchy and for each MeshGeometry3D sets the EdgeLineIndicesProperty DependencyProperty to the list of edge lines that is created by the CreateEdgeLines(Double, Boolean) method.
Top
Fields
  NameDescription
Public fieldStatic memberEdgeMultiLineVisual3DProperty
EdgeMultiLineVisual3DProperty is a DependencyProperty that can be set to the GeometryModel3D object and specifies a MultiLineVisual3D object that is used to show edge lines.
Top
See Also