Click or drag to resize

IntersectionMeshMeshFast Method

Fast intersection of two meshes, returned as loose line segments rather than assembled polylines.

Vertices are read in double precision when the mesh has them. Faces that cross or touch within tolerance produce segments; coplanar overlaps are ignored. Use MeshMesh(IEnumerableMesh, Double, Polyline, Boolean, Polyline, Boolean, Mesh, TextLog, CancellationToken, IProgressDouble) when overlaps or joined curves are needed, and MeshMeshPredicate(IEnumerableMesh, IEnumerableMesh, Double, Boolean, Int32, Int32, TextLog, CancellationToken) when only the yes/no answer is needed.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Line[] MeshMeshFast(
	Mesh meshA,
	Mesh meshB
)

Parameters

meshA
Type: Rhino.GeometryMesh
First mesh for intersection.
meshB
Type: Rhino.GeometryMesh
Second mesh for intersection.

Return Value

Type: Line
An array of intersection line segments, empty if no intersections were found.
See Also