CADability dotNET
Returns all objects of the model that are touched by the pickrect, whos layers are in the visibleLayers set and which are accepted by the filterList.

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

Syntax

C#
public GeoObjectList GetObjectsFromRect(
	BoundingRect pickrect,
	Projection projection,
	Set<Layer> visibleLayers,
	PickMode pickMode,
	FilterList filterList
)
Visual Basic
Public Function GetObjectsFromRect ( _
	pickrect As BoundingRect, _
	projection As Projection, _
	visibleLayers As Set(Of Layer), _
	pickMode As PickMode, _
	filterList As FilterList _
) As GeoObjectList
Visual C++
public:
GeoObjectList^ GetObjectsFromRect(
	BoundingRect pickrect, 
	Projection^ projection, 
	Set<Layer^>^ visibleLayers, 
	PickMode pickMode, 
	FilterList^ filterList
)

Parameters

pickrect
Type: CADability..::..BoundingRect
Area that specifies which objects are beeing tested
projection
Type: CADability..::..Projection
The projection in which the pickrect is defined
visibleLayers
Type: Set<(Of <(<'Layer>)>)>
Set of layers which are visible (and hence should be used for the test)
pickMode
Type: CADability..::..PickMode
Single or multiple objects
filterList
Type: CADability.Attribute..::..FilterList
List of conditions

Return Value

List of objects that fulfill all conditions

See Also