Click or drag to resize

MeshClashSearch Method (IEnumerableRhinoObject, IEnumerableRhinoObject, Double, MeshType, MeshingParameters)

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,
	MeshType meshType,
	MeshingParameters meshingParameters


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.
Type: Rhino.GeometryMeshType
The type of mesh to be used for the calculation.
Type: Rhino.GeometryMeshingParameters
The meshing parameters used to generate meshes for the calculation.

Return Value

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