CADability dotNET
Takes a list of unsorted and unoriented geoobjects and tries to put them together to a connected path. All previously contained segments are removed. All objects of the list, that are used in this path will be removed from their owner (see Owner). To avoid objects bee removed from their owner (e.g. Model or Block) use a list of cloned GeoObjects (CloneObjects()()()()).

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

Syntax

C#
public bool Set(
	GeoObjectList l,
	bool moreThanOne,
	double maxgap
)
Visual Basic
Public Function Set ( _
	l As GeoObjectList, _
	moreThanOne As Boolean, _
	maxgap As Double _
) As Boolean
Visual C++
public:
bool Set(
	GeoObjectList^ l, 
	bool moreThanOne, 
	double maxgap
)

Parameters

l
Type: CADability.GeoObject..::..GeoObjectList
List of unsorted GeoObjects
moreThanOne
Type: System..::..Boolean
if true, the path must exist of more than one curve
maxgap
Type: System..::..Double

Return Value

success

See Also