Click or drag to resize

IntersectionMeshMesh Method

Intersects meshes. Overlaps and perforations are provided in the output list.

Tolerance can be specified.

We suggest to use the document tolerance multiplied by MeshIntersectionsTolerancesCoefficient.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static bool MeshMesh(
	IEnumerable<Mesh> meshes,
	double tolerance,
	out Polyline[] intersections,
	bool overlapsPolylines,
	out Polyline[] overlapsPolylinesResult,
	bool overlapsMesh,
	out Mesh overlapsMeshResult,
	TextLog textLog,
	CancellationToken cancel,
	IProgress<double> progress
)

Parameters

meshes
Type: System.Collections.GenericIEnumerableMesh
The mesh input list. This cannot be null. Null entries are tolerated.
tolerance
Type: SystemDouble
A tolerance value. If negative, the positive value will be used. WARNING! Good tolerance values are in the magnitude of 10^-7, or RhinoMath.SqrtEpsilon*10.
intersections
Type: Rhino.GeometryPolyline
Returns the intersections.
overlapsPolylines
Type: SystemBoolean
If true, overlaps are computed and returned.
overlapsPolylinesResult
Type: Rhino.GeometryPolyline
If requested, overlaps are returned here.
overlapsMesh
Type: SystemBoolean
If true, an overlaps mesh is computed and returned.
overlapsMeshResult
Type: Rhino.GeometryMesh
If requested, overlaps are returned here.
textLog
Type: Rhino.FileIOTextLog
A text log, or null.
cancel
Type: System.ThreadingCancellationToken
A cancellation token to stop the computation at a given point.
progress
Type: SystemIProgressDouble
A progress reporter to inform the user about progress, or null. The reported value is indicative.

Return Value

Type: Boolean
True, if the operation succeeded, otherwise false.
See Also