ComponentStatus.HasSomeEqualStates Method

ComponentStatusHasSomeEqualStates Method

For the purposes of this test, Selected and SelectedPersistent are considered equal.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool HasSomeEqualStates(
	ComponentStatus statesFilter,
	ComponentStatus comparand
)
Public Function HasSomeEqualStates ( 
	statesFilter As ComponentStatus,
	comparand As ComponentStatus
) As Boolean

Parameters

statesFilter
Type: Rhino.GeometryComponentStatus
If no states are specified, then false is returned.
comparand
Type: Rhino.GeometryComponentStatus
If a state is set in states_filter, the corresponding state in "this" and comparand will be tested.

Return Value

Type: Boolean
True if at least one tested state in "this" and comparand are identical.
Version Information

Rhino for Windows

Supported in: 6.8
See Also