M_Rhino_Geometry_Quaternion__ctor - mcneel/rhinocommon-api-docs GitHub Wiki

Quaternion Constructor

Initializes a new quaternion with the provided coefficients.

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

Syntax

C#

public Quaternion(
	double a,
	double b,
	double c,
	double d
)

VB

Public Sub New ( 
	a As Double,
	b As Double,
	c As Double,
	d As Double
)

Parameters

 

a
Type: System.Double
A number. This is the real part.
b
Type: System.Double
Another number. This is the first coefficient of the imaginary part.
c
Type: System.Double
Another number. This is the second coefficient of the imaginary part.
d
Type: System.Double
Another number. This is the third coefficient of the imaginary part.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Quaternion Structure
Rhino.Geometry Namespace

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