Click or drag to resize

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

Finds objects bounded by a region

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public RhinoObject[] FindByCrossingWindowRegion(
	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
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also