getSnapRotation MethodStatic

Return a Matrix3d from a SnapDetail. Uses SnapDetail.normal and primitive when available to create the most well defined rotation for the given snap location.

getSnapRotation(snap: SnapDetail, matrix?: Matrix3d): Matrix3d | undefined

Parameter Type Description
snap SnapDetail  
matrix Matrix3d  

Returns - Matrix3d | undefined

Defined in

Last Updated: 09 May, 2026