Table of Contents

Method Intersect

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Intersect(IEnumerable<DxfRegionShape>, Tolerance)

Gets what every one of the shapes covers: a circle of radius 10 about (0, 0) and one about (10, 0) have a lens of area 122.84 and perimeter 41.89, two arcs.

public static DxfRegionShape Intersect(IEnumerable<DxfRegionShape> shapes, Tolerance tolerance)

Parameters

shapes IEnumerable<DxfRegionShape>

The shapes, in one plane.

tolerance Tolerance

The tolerance, as Unite(IEnumerable<DxfRegionShape>, Tolerance) says.

Returns

DxfRegionShape

The shape; null where they have nothing in common.

Exceptions

ArgumentNullException

Thrown when the shapes or one of them is null.

ArgumentException

Thrown when there is no shape, or the shapes do not lie in one plane.