Click or drag to resize
ObjectTableFindByWindowRegion Method (RhinoViewport, IEnumerablePoint3d, Boolean, ObjectType)
Finds objects bounded by a polyline region

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public RhinoObject[] FindByWindowRegion(
	RhinoViewport viewport,
	IEnumerable<Point3d> region,
	bool inside,
	ObjectType filter
)

Parameters

viewport
Type: Rhino.DisplayRhinoViewport
viewport to use for selection
region
Type: System.Collections.GenericIEnumerablePoint3d
list of points that define the
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