toRotation2D

fun toRotation2D(selectAxis: Vector3D = Vector3D.Z_AXIS): Rotation2D

Conversion to a rotation in 2D.

Parameters

selectAxis

axis to be selected for 2D; selecting the z axis will take the heading angle for 2D