CADability dotNET
Returns all GeoObjects that coincide with the given BoundingRect in the projection of this ProjectedModel. If parameter [!:childOfThis] is null, this function will return the topmost parents of the objects else it will return direct children of "childOfthis".

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

Syntax

C#
public GeoObjectList GetObjectsFromRect(
	BoundingRect pickrect,
	IGeoObject childOfThis
)
Visual Basic
Public Function GetObjectsFromRect ( _
	pickrect As BoundingRect, _
	childOfThis As IGeoObject _
) As GeoObjectList
Visual C++
public:
GeoObjectList^ GetObjectsFromRect(
	BoundingRect pickrect, 
	IGeoObject^ childOfThis
)

Parameters

pickrect
Type: CADability..::..BoundingRect
bounding rectangle in this projection
childOfThis
Type: CADability.GeoObject..::..IGeoObject
if null returns topmost parent else return directchild of this

Return Value

GeoObjects found

See Also