anglesTo Method

Measures the angles (yaw and pitch) between two coordinates.

anglesTo(coord);

 

Parameter

Description

coord

Can be  SGCoord2D, SGCoord3D or SGPosition

Return Value

An object with two properties: yaw and pitch.