SRGraphComponent::GetLineAngle

double SRGraphComponent::GetLineAngle(CPoint ptStart, CPoint ptEnd)

Returns the angle of a vector between two points

Defined in: SRGComp.cpp

Return Value

Angle (in radians) of the end point with respect to a horizontal line through the start point

Parameters

ptStart

Start point

ptEnd

End point