-
-
Notifications
You must be signed in to change notification settings - Fork 142
CSMath.Quaternion
Albert Domenech edited this page Apr 6, 2025
·
3 revisions
Four dimensional vector which is used to efficiently rotate an object about the (x,y,z) vector by the angle theta, where w = cos(theta/2).
Namespace: CSMath
C#
DefaultMemberAttribute
public sealedstruct Quaternion
Returns | Name | Summary |
---|---|---|
UInt32 |
Dimension | Get the dimension of the . |
Double |
Item | Value of the coordinate at the specified index. |
Double |
W | Specifies the rotation component of the Quaternion. |
Double |
X | Specifies the X-value of the vector component of the Quaternion. |
Double |
Y | Specifies the Y-value of the vector component of the Quaternion. |
Double |
Z | Specifies the Z-value of the vector component of the Quaternion. |
Returns | Name | Summary |
---|---|---|
Boolean |
Equals(CSMath.Quaternion, System.Int32) | Indicates whether the current object is equal to another object of the same type. |
Boolean |
Equals(CSMath.Quaternion) | |
XYZ |
ToEulerAngles | Get the Euler angles, in radians, for this quaternion. |
Matrix4 |
ToMatrix | Create a rotation matrix |
String |
ToString |
ACadSharp Class Library Documentation
Documentation created by NetDocGen
- ACadSharp
- ACadSharp.Attributes
- ACadSharp.Blocks
- ACadSharp.Classes
- ACadSharp.Entities
- ACadSharp.Exceptions
- ACadSharp.Extensions
- ACadSharp.Header
- ACadSharp.IO
- ACadSharp.IO.DWG
- ACadSharp.Objects
- ACadSharp.Objects.Collections
- ACadSharp.Objects.Evaluations
- ACadSharp.Tables
- ACadSharp.Tables.Collections
- ACadSharp.Types.Units
- ACadSharp.XData
- CSMath
- CSMath.Geometry
- CSUtilities.Attributes
- CSUtilities.Extensions