IntersectionMeshMesh Method |
Intersects meshes. Overlaps and perforations are provided in the output list.
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
)
Public Shared Function MeshMesh (
meshes As IEnumerable(Of Mesh),
tolerance As Double,
<OutAttribute> ByRef intersections As Polyline(),
overlapsPolylines As Boolean,
<OutAttribute> ByRef overlapsPolylinesResult As Polyline(),
overlapsMesh As Boolean,
<OutAttribute> ByRef overlapsMeshResult As Mesh,
textLog As TextLog,
cancel As CancellationToken,
progress As IProgress(Of Double)
) As Boolean
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:
BooleanTrue, if the operation succeeded, otherwise false.
See Also