The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Direction


Unit:SDL_sline
Class:TSLine
Declaration:property Direction: double;

The read-only property Direction returns the direction of the straight line in terms of the angle between the x-axis and the line. The angle is specified in radians.

Hint: Please note that the direction is derived from the direction vector of the line. Thus the direction differs by Pi for two antiparallel lines.



Last Update: 2012-Oct-20