Click or drag to resize
AB4D logo

WireframeFactoryCreateNormals(MeshGeometry3D, Double, Double, Color, Boolean, Transform3D, Visual3D) Method

Creates 3D lines that represent normals of the already defined 3D object.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateNormals(
	MeshGeometry3D meshGeometry,
	double normalScale,
	double thickness,
	Color lineColor,
	bool addArrow,
	Transform3D transform,
	Visual3D parentVisual3D
)

Parameters

meshGeometry  MeshGeometry3D
original 3D object as MeshGeometry3D
normalScale  Double
length of the normal lines
thickness  Double
line thickness in screen coordinates
lineColor  Color
color of the lines
addArrow  Boolean
if true an arrow is added at the end of each normal
transform  Transform3D
Transform3D that is applied to all normals
parentVisual3D  Visual3D
parent Visual3D

Return Value

GeometryModel3D
normals model as GeometryModel3D
See Also