Click or drag to resize

GetObjectPassesGeometryAttributeFilter Method

Checks geometry to see if it passes the basic GeometryAttributeFilter.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool PassesGeometryAttributeFilter(
	RhinoObject rhObject,
	GeometryBase geometry,
	ComponentIndex componentIndex
)

Parameters

rhObject
Type: Rhino.DocObjectsRhinoObject
parent object being considered.
geometry
Type: Rhino.GeometryGeometryBase
geometry being considered.
componentIndex
Type: Rhino.GeometryComponentIndex
if >= 0, geometry is a proper sub-part of object->Geometry() with componentIndex.

Return Value

Type: Boolean
true if the geometry passes the filter returned by GeometryAttributeFilter().
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also