|
WireframeFactoryCreateNormals(MeshGeometry3D, Double, Double, Color, Boolean, Viewport3D) Method |
Creates 3D lines that represent normals of the already defined 3D object.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateNormals(
MeshGeometry3D meshGeometry,
double normalScale,
double thickness,
Color lineColor,
bool addArrow,
Viewport3D parentViewport3D
)
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
- parentViewport3D Viewport3D
- parent Viewport3D
Return Value
GeometryModel3Dnormals model as GeometryModel3D
See Also