Click or drag to resize

ObjectTableFindByCrossingWindowRegion Method (RhinoViewport, IEnumerablePoint3d, Boolean, ObjectType)

Finds objects bounded by a polyline region

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