RhinoCommon API
MeshClashSearch Method (Mesh, IEnumerableMesh, Double, Int32) |
Searches the locations where the distance from the first mesh to a mesh in the second set of meshes
is less than the provided value.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll)
public static MeshClash[] Search( Mesh meshA, IEnumerable<Mesh> setB, double distance, int maxEventCount )
Public Shared Function Search ( meshA As Mesh, setB As IEnumerable(Of Mesh), distance As Double, maxEventCount As Integer ) As MeshClash()
Parameters
- meshA
- Type: Rhino.GeometryMesh
The first mesh. - setB
- Type: System.Collections.GenericIEnumerableMesh
The second set of meshes. - distance
- Type: SystemDouble
The largest distance at which there is a clash. All values smaller than this cause a clash as well. - maxEventCount
- Type: SystemInt32
The maximum number of clash objects.
Return Value
Type: MeshClashAn array of clash objects.