MeshClash

References
public class MeshClash
Represents a particular instance of a clash or intersection between two meshes.

Properties

ClashPoint

#Since v5.0
If valid, then the sphere centered at ClashPoint of ClashRadius distance intersects the clashing meshes.
public Point3d ClashPoint { get; }

ClashRadius

#Since v5.0
Gets the clash, or intersection, radius.
public double ClashRadius { get; }

MeshA

#Since v5.0
Gets the first mesh.
public Mesh MeshA { get; }

MeshB

#Since v5.0
Gets the second mesh.
public Mesh MeshB { get; }

Methods

FindDetail

#Since v7.0
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.
public static Mesh[] FindDetail(
objA,
The first Rhino object.
objB,
The second Rhino object.
distance,
The largest distance at which a clash can occur.
meshType,
The type of mesh to be used for the calculation.
meshingParameters
The meshing parameters used to generate meshes for the calculation.
)
The resulting meshes are sub-meshes of the input meshes if successful, or an empty array on error.

FindDetail

#Since v7.0
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.
public static Mesh[] FindDetail(
objA,
The first Rhino object.
objB,
The second Rhino object.
distance
The largest distance at which a clash can occur.
)
The resulting meshes are sub-meshes of the input meshes if successful, or an empty array on error.

Search

#Since v5.0
Searches for locations where the distance from a mesh in one set of meshes is less than distance to another mesh in a second set of meshes.
public static MeshClash[] Search(
setA,
The first set of meshes.
setB,
The second set of meshes.
distance,
The largest distance at which there is a clash. All values smaller than this cause a clash as well.
maxEventCount
The maximum number of clash objects.
)
An array of clash objects.

Search

#Since v5.0
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.
public static MeshClash[] Search(
Mesh
meshA,
The first mesh.
setB,
The second set of meshes.
distance,
The largest distance at which there is a clash. All values smaller than this cause a clash as well.
maxEventCount
The maximum number of clash objects.
)
An array of clash objects.

Search

#Since v5.0
Searches the locations where the distance from the first mesh to the second mesh is less than the provided value.
public static MeshClash[] Search(
Mesh
meshA,
The first mesh.
Mesh
meshB,
The second mesh.
distance,
The largest distance at which there is a clash. All values smaller than this cause a clash as well.
maxEventCount
The maximum number of clash objects.
)
An array of clash objects.

Search

#Since v7.0
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.
public static MeshInterference[] Search(
setA,
The first set of Rhino objects.
setB,
The second set of Rhino objects.
distance,
The largest distance at which a clash can occur.
meshType,
The type of mesh to be used for the calculation.
meshingParameters
The meshing parameters used to generate meshes for the calculation.
)
An array of mesh interference object if successful, or an empty array on failure.

Search

#Since v7.0
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.
public static MeshInterference[] Search(
setA,
The first set of Rhino objects.
setB,
The second set of Rhino objects.
distance
The largest distance at which a clash can occur.
)
An array of mesh interference object if successful, or an empty array on failure.