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
Syntax public static MeshInterference[] Search(
IEnumerable<RhinoObject> setA,
IEnumerable<RhinoObject> setB,
double distance
)
Public Shared Function Search (
setA As IEnumerable(Of RhinoObject),
setB As IEnumerable(Of RhinoObject),
distance As Double
) 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.
Return Value
Type:
MeshInterferenceAn array of mesh interference object if successful, or an empty array on failure.
See Also