ObjectTableFindByCrossingWindowRegion Method (RhinoViewport, Point2d, Point2d, Boolean, ObjectType) |
Finds objects bounded by a region
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.8
Syntax public RhinoObject[] FindByCrossingWindowRegion(
RhinoViewport viewport,
Point2d screen1,
Point2d screen2,
bool inside,
ObjectType filter
)
Public Function FindByCrossingWindowRegion (
viewport As RhinoViewport,
screen1 As Point2d,
screen2 As Point2d,
inside As Boolean,
filter As ObjectType
) As RhinoObject()
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:
RhinoObjectAn array of RhinoObjects that are inside of this region
See Also