Click or drag to resize

MeshClashSearch Method (IEnumerableRhinoObject, IEnumerableRhinoObject, Double)

Searches for locations where the distance from a RhinoObject, in one set of objects, is less than the specified distance to another RhinoObject in a second set of objects. This function uses the object's mesh to calculate the interferences. Acceptable object types include: BrepObject, ExtrusionObject, MeshObject, and SubDObject.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
public static MeshInterference[] Search(
	IEnumerable<RhinoObject> setA,
	IEnumerable<RhinoObject> setB,
	double distance


Type: System.Collections.GenericIEnumerableRhinoObject
The first set of Rhino objects.
Type: System.Collections.GenericIEnumerableRhinoObject
The second set of Rhino objects.
Type: SystemDouble
The largest distance at which a clash can occur.

Return Value

Type: MeshInterference
An array of mesh interference object if successful, or an empty array on failure.
See Also