M_Rhino_Geometry_Matrix_SetDiagonal - mcneel/rhinocommon-api-docs GitHub Wiki

Matrix.SetDiagonal Method

Sets diagonal value and zeros off all non-diagonal values.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public void SetDiagonal(
	double d
)

VB

Public Sub SetDiagonal ( 
	d As Double
)

Parameters

 

d
Type: System.Double
The new diagonal value.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Matrix Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️