RhinoCommon API
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 )
Public Shared Function Search ( setA As IEnumerable(Of RhinoObject), setB As IEnumerable(Of RhinoObject), distance As Double, meshType As MeshType, meshingParameters As MeshingParameters ) As MeshInterference()
Parameters
- setA
- Type: System.Collections.GenericIEnumerableRhinoObject
The first set of Rhino objects. - setB
- Type: System.Collections.GenericIEnumerableRhinoObject
The second set of Rhino objects. - distance
- Type: SystemDouble
The largest distance at which a clash can occur. - meshType
- Type: Rhino.GeometryMeshType
The type of mesh to be used for the calculation. - meshingParameters
- Type: Rhino.GeometryMeshingParameters
The meshing parameters used to generate meshes for the calculation.
Return Value
Type: MeshInterferenceAn array of mesh interference object if successful, or an empty array on failure.
