Click or drag to resize
AB4D logo

EdgeLinesFactoryAddEdgeLinePositions Method

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.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.0.8746.1045
Syntax
C#
public static void AddEdgeLinePositions(
	Model3D model3D,
	double edgeStartAngleInDegrees,
	Point3DCollection linePositions,
	Transform3D parentTransform3D = null
)

Parameters

model3D  Model3D
Model3D
edgeStartAngleInDegrees  Double
if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
linePositions  Point3DCollection
Point3DCollection collection where edge line positions will be added to
parentTransform3D  Transform3D  (Optional)
Transform3D that is added to the model3D (null by default)
See Also