CADability dotNET
Returns an array of objects which contains all objects that are close to the provided line. It may also contain some objects that have a greater distance than maxdist to the line.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public T[] GetObjectsFromLine(
	GeoPoint start,
	GeoVector dir,
	double maxdist
)
Visual Basic
Public Function GetObjectsFromLine ( _
	start As GeoPoint, _
	dir As GeoVector, _
	maxdist As Double _
) As T()
Visual C++
public:
array<T>^ GetObjectsFromLine(
	GeoPoint start, 
	GeoVector dir, 
	double maxdist
)

Parameters

start
Type: CADability..::..GeoPoint
Starting point of the line
dir
Type: CADability..::..GeoVector
Direction of the line
maxdist
Type: System..::..Double
Maximum distance to the line

Return Value

Array of all objects which match the criterion

See Also