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
)
Public Shared Function FindDetail (
objA As RhinoObject,
objB As RhinoObject,
distance As Double,
meshType As MeshType,
meshingParameters As MeshingParameters
) As Mesh()
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:
MeshThe resulting meshes are sub-meshes of the input meshes if successful, or an empty array on error.
See Also