Click or drag to resize

ComponentStatusHasSomeEqualStates Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool HasSomeEqualStates(
	ComponentStatus statesFilter,
	ComponentStatus comparand


Type: Rhino.GeometryComponentStatus
If no states are specified, then false is returned.
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.27
See Also