The unit SLINE contains the non-visual component TSLine, which supports the calculations with straight lines. You can define a line either by the standard parameter model Ax + By + C = 0, or by specifying two points of the line, or by its slope and its intercept with the y-axis, or by a point and the angle between the line and the x-axis.
Further, TSLine allows to calculate parallel and perpenticular lines, intersections and distances. More details can be found in the online help pages.
The unit SLINE is part of the SDL Component Suite.
| SLine | The sample program SLine shows how to use the TSLine component for calulating the intersections of three lines with two of them being perpenticular. The user may freely drag the control points of the lines.
|
sline.zip
(304 kB) |
What's new:
- Release 9.0 [May-28, 2007]
- no changes

