Click or drag to resize

MeshClashFindDetail Method (RhinoObject, RhinoObject, Double, MeshType, MeshingParameters)

Finds all of the mesh faces on each of two Rhino objects that interfere within a clash distance. 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 Mesh[] FindDetail(
	RhinoObject objA,
	RhinoObject objB,
	double distance,
	MeshType meshType,
	MeshingParameters meshingParameters
)

Parameters

objA
Type: Rhino.DocObjectsRhinoObject
The first Rhino object.
objB
Type: Rhino.DocObjectsRhinoObject
The second Rhino object.
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: Mesh
The resulting meshes are sub-meshes of the input meshes if successful, or an empty array on error.
See Also