SDL Component Suite - SLine

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.


Free Sample Programs

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 12.0   [Dec-12, 2023]
     
    • no changes

  • Release 10.7   [Aug-24, 2020]
     
    • no changes

  • Release 10.6   [Mar-09, 2018]
     
    • the method Distance now returns the distance including the sign

  • Release 10.5   [Oct-10, 2016]
     
    • no changes

  • Release 10.4   [Jun-02, 2015]
     
    • no changes

  • Release 10.3   [Oct-06, 2014]
     
    • none

  • Release 10.2   [May-30, 2013]
     
    • no changes

  • Release 10.1   [Oct-29, 2012]
     
    • bug fix: LineFromSlopeIcpt now correctly calculates the line parameters (x and y have been exchanged)

  • Release 10.0   [Oct-4, 2011]
     
    • no changes

  • Release 9.7   [May-31, 2010]
     
    • no changes

  • Release 9.51   [Dec-01, 2008]
     
    • no changes

  • Release 9.5   [Oct-31, 2008]
     
    • no changes

  • Release 9.0   [May-28, 2007]
     
    • no changes