Drawing3d documented Class Library

LineType2d.inLine Method

Checks whether a point lays on the line or not.

[Visual Basic]
Public Sub inLine( _
   ByVal pt As xy, _
   ByRef param As Double _
public bool inLine(
   xy pt,
   out double param


Point to be checked
A parameter for calculating the Point pt by Value, if the point lays on the line, else param = -1.

Return Value

Returns true, if the Point pt lays on the Line, otherwise false.

See Also

LineType2d Class | Drawing3d.Math Namespace