Click or drag to resize

ObjectTableFindByWindowRegion Method (RhinoViewport, Point2d, Point2d, Boolean, ObjectType)

Finds objects bounded by a polyline region

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.8
Syntax
public RhinoObject[] FindByWindowRegion(
	RhinoViewport viewport,
	Point2d screen1,
	Point2d screen2,
	bool inside,
	ObjectType filter
)

Parameters

viewport
Type: Rhino.DisplayRhinoViewport
viewport to use for selection
screen1
Type: Rhino.GeometryPoint2d
first screen corner
screen2
Type: Rhino.GeometryPoint2d
second screen corner
inside
Type: SystemBoolean
should objects returned be the ones inside of this region (or outside)
filter
Type: Rhino.DocObjectsObjectType
filter down list by object type

Return Value

Type: RhinoObject
An array of RhinoObjects that are inside of this region
See Also