ads_real acutAngle( const ads_point pt1, const ads_point pt2 );
acutads.h
|
Parameters |
Description |
|
pt1 |
Beginning point of the line |
|
pt2 |
End point of the line |
Finds the angle between a line and the current X axis.
Returns the angle of the line in radians. The acutAngle() function measures the angle from the X axis of the current User Coordinate System (UCS), with the angle increasing in the counterclockwise direction.
This function treats pt1 and pt2 as two-dimensional points. It ignores their Z coordinates, in effect projecting the line onto the current construction plane.