CADability dotNET
Returns an array of all objects that interfere with the provided [!:PickArea]. If onlyInside is true only objects inside the frustum or box of the area are returned, otherwise there may also be objects that are aoutside this area.

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

Syntax

C#
public T[] GetObjectsFromRect(
	Projection..::..PickArea area,
	bool onlyInside
)
Visual Basic
Public Function GetObjectsFromRect ( _
	area As Projection..::..PickArea, _
	onlyInside As Boolean _
) As T()
Visual C++
public:
array<T>^ GetObjectsFromRect(
	Projection..::..PickArea^ area, 
	bool onlyInside
)

Parameters

area
Type: CADability..::..Projection..::..PickArea
the frustum or box defining the selection
onlyInside
Type: System..::..Boolean
True to only return objects completely inside the area

Return Value

Array of all objects which match the criterion

See Also