getSnapRotation MethodStatic

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

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

Parameter Type Description
snap SnapDetail  
matrix Matrix3d  

Returns - undefined | Matrix3d

Defined in

Last Updated: 25 April, 2024